cURL
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 }
This endpoint is used to approve a file type.
The response will contain the success status.
API key for authentication
The file type is approved
The response is of type object.
object