Returns the created API collection object with all specified properties and system-generated fields.
Response
string
Unique identifier for the API collection (UUID format).
string
API collection name.
string
Fully qualified name in format service.collectionName.
string
Human-readable display name.
string
Description of the API collection in Markdown format.
string
Base URL for the API collection.
object
Reference to the parent API service.
Show properties
string
UUID of the API service.
string
Type of entity (always apiService).
string
Name of the API service.
string
Fully qualified name of the API service.
string
Type of API service, for example Rest.
array
List of owners assigned to the API collection.
Show properties
string
UUID of the owner entity.
string
Type of owner entity, for example user, team.
string
Name of the owner entity.
array
Domain assignments for governance.
array
Classification tags applied to the API collection.
Show properties
string
Fully qualified name of the tag.
string
Type of label, for example Manual, Derived, Propagated.
string
State of the tag, for example Suggested, Confirmed.
object
Custom property values defined by your organization’s metadata schema.
number
Version number for the entity (starts at 0.1).
Create or Update (PUT)
Use PUT /v1/apiCollections instead of POST to perform an upsert. If an API collection with the same fullyQualifiedName already exists, it will be updated; otherwise, a new API collection is created. The request body is the same as POST.
curl -X PUT "{base_url}/api/v1/apiCollections" \ -H "Authorization: Bearer {access_token}" \ -H "Content-Type: application/json" \ -d '{ ... same body as POST ... }'
PUT will not return a 409 conflict error if the entity already exists — it will update the existing entity instead.
Bulk Create or Update (PUT)
Use PUT /v1/apiCollections/bulk to create or update multiple API collections in a single request. The request body is an array of create request objects.