Skip to main content
PATCH
Change a destination

Authorizations

Authorization
string
header
required

Sign in with the existing Occtoo Studio identity and selected organization.

Headers

If-Match
string

The latest ETag of the destination.

Path Parameters

destinationId
string
required

Id of the destination (e.g. catalogue).

Body

application/json

Changes to a destination. Omitted or null fields stay as they are.

name
null | string

Display name, 3 to 50 characters.

description
null | string

Free text, up to 200 characters. An empty text clears it.

tags
null | string[]

Replaces all labels.

Response

OK

A destination: a named API that publishes card entries through its versions and endpoints.

id
string
required

The destination's safe name. Part of the URL of the API it publishes.

name
string
required

Display name.

description
null | string
required

Free text shown with the destination.

tags
string[]
required

Labels used to group destinations.

etag
required

Version of the destination to send in If-Match.

createdAt
string<date-time>
required

When the destination was created.

updatedAt
string<date-time>
required

When the destination last changed.