Skip to main content
PATCH
/
prod
/
v1
/
file-type
/
approve
Approve a file type
curl --request PATCH \
  --url https://api.orion.file.ai/prod/v1/file-type/approve \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "blueprintId": "649e2d2d2d2d2d2d2d2d2d2d",
  "schemaId": "649e2d2d2d2d2d2d2d2d2d2d"
}'
{
  "success": true
}

Authorizations

x-api-key
string
header
required

API key for authentication

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
I