PATCH
/
prod
/
v1
/
file-type
/
rename
Rename a file type
curl --request PATCH \
  --url https://api.orion.file.ai/prod/v1/file-type/rename \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "blueprintId": "649e2d2d2d2d2d2d2d2d2d2d",
  "name": "New Name"
}'
{
  "success": true
}

Authorizations

x-api-key
string
header
required

API key for authentication

Body

application/json

Response

200
application/json

The file type is renamed

The response is of type object.