Update an API Collection
Create or update an API collection with a full request body
PUT
PUT /v1/apiCollections
Update an API Collection
Create an API collection or update it if it already exists, usingPUT /v1/apiCollections with the full request body. Send the complete definition, not just the fields you want to change. To change only some fields, use PATCH with a JSON Patch array and the application/json-patch+json content type, as shown in the PATCH examples below.
Body Parameters
string
required
Name of the API collection. Must be unique within the parent API service.
string
required
Fully qualified name of the parent APIService, for example
sample_api_service.string
Base URL for the API collection, for example
https://petstore3.swagger.io/#/pet.string
Human-readable display name for the API collection.
string
Description of the API collection in Markdown format.
array
Array of owner references (users or teams) to assign to the API collection.
array
Fully qualified names of the domains to assign for governance purposes.
array
Array of classification tags to apply to the API collection.
object
Custom property values defined by your organization’s metadata schema.
PUT /v1/apiCollections
Returns
Returns the updated API collection object with the new version number.Response
string
Unique identifier for the API collection (UUID format).
string
API collection name.
string
Fully qualified name in format
service.collectionName.string
Updated description.
number
Incremented version number.