Skip to main content
PATCH
Approve a file type
This endpoint accepts an optional Idempotency-Key request header so a retry cannot apply the change twice. See Idempotent requests.

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

Idempotency-Key
string

Optional opaque key (max 255 chars, UUIDv4 recommended) making this request idempotent for 24h: a retry with the same key and body replays the original response with Idempotent-Replayed: true.

Body

application/json
blueprintId
string
required

File type id

Example:

"649e2d2d2d2d2d2d2d2d2d2d"

schemaId
string
required

Schema id

Example:

"649e2d2d2d2d2d2d2d2d2d2d"

Response

The file type is approved

success
boolean