Skip to main content
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
blueprintId
string
required

File type id

Example:

"649e2d2d2d2d2d2d2d2d2d2d"

name
string
required

New name for the file type

Example:

"New Name"

Response

The file type is renamed

success
boolean
I