Create API collection

Create an API collection in a customer workspace within a project you specify.

Path parameters

managed_user_idstringRequired

Embedded customer ID (external ID). The External ID must be URL encoded and prefixed with an E. For example, EA2300.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
Name of the collection.
project_idstringOptional
The ID of a specific project. Retrieve a list of project IDs using the list projects endpoint.

Response

Success reply
idinteger
The ID of the API collection.
namestring
The name of the API collection.
versionstring
The version number of the API collection.
urlstringformat: "uri"
The URL of the API collection.
api_spec_urlstringformat: "uri"
The URL of the specification file for the API collection.
created_atdatetime
Timestamp in ISO 8601 format when the API collection was created.
updated_atdatetime
Timestamp in ISO 8601 format when the API collection was last updated.

Errors