Skip to content

Cancel a conversion

POST
/api/v1/convert/{fileId}/cancel
curl --request POST \
--url https://api.gevell.com/api/v1/convert/example/cancel \
--header 'X-API-Key: <X-API-Key>'

Stops the conversion and keeps the file; the reservation is released and nothing is charged. Same behaviour as POST /api/v1/files/{id}/cancel. 409 NOT_CANCELLABLE when nothing is in progress that can be stopped, CONVERSION_FINISHING once it is assembling its output.

fileId
required
string

Cancelled

Missing or invalid API key

Media typeapplication/json
object
success
boolean
error
object
code
string
message
string
details
object
key
additional properties
any
Example
{
"success": false,
"error": {
"code": "INSUFFICIENT_CREDITS"
}
}

Not found

Media typeapplication/json
object
success
boolean
error
object
code
string
message
string
details
object
key
additional properties
any
Example
{
"success": false,
"error": {
"code": "INSUFFICIENT_CREDITS"
}
}

Not cancellable

Media typeapplication/json
object
success
boolean
error
object
code
string
message
string
details
object
key
additional properties
any
Example
{
"success": false,
"error": {
"code": "INSUFFICIENT_CREDITS"
}
}

Unexpected error

Media typeapplication/json
object
success
boolean
error
object
code
string
message
string
details
object
key
additional properties
any
Example
{
"success": false,
"error": {
"code": "INSUFFICIENT_CREDITS"
}
}