File API
Delete a file by path
Request to delete a file. This will delete the file and all historic versions.
Request
Responses
204
The file has been deleted.
400
/file-api/bad-request
Bad request. The server cannot or will not process the request due to a client error.
400
"Bad Request."
"https://seequent.com/error-codes/file-api/bad-request"
{
"detail": "string",
"status": 400,
"title": "Bad Request.",
"type": "https://seequent.com/error-codes/file-api/bad-request"
}
401
/file-api/auth/missing-token
Unauthorized. The client request has not been completed as the provided credentials are invalid.
/file-api/auth/invalid-token
Forbidden. The client credentials are valid but do not permit access to this resource.
401
"Access Denied."
"https://seequent.com/error-codes/file-api/auth/missing-token"
401
"Access Denied."
"https://seequent.com/error-codes/file-api/auth/invalid-token"
{
"detail": "string",
"status": 401,
"title": "Access Denied.",
"type": "https://seequent.com/error-codes/file-api/auth/missing-token"
}
403
/file-api/auth/insufficient-role
Forbidden. The client credentials are valid but the client does not have a sufficient role to access to this resource.
[]
403
"Insufficient Role."
"https://seequent.com/error-codes/file-api/auth/insufficient-role"
{
"detail": "string",
"permitted_roles": [
null
],
"status": 403,
"title": "Insufficient Role.",
"type": "https://seequent.com/error-codes/file-api/auth/insufficient-role",
"your_role": "string"
}
422
/file-api/validation
The request was invalid and will not be processed due to a client error.
422
"Validation Error."
"https://seequent.com/error-codes/file-api/validation"
{
"detail": "string",
"status": 422,
"title": "Validation Error.",
"type": "https://seequent.com/error-codes/file-api/validation"
}
500
/file-api/api-errors
A server error has occurred.
500
"An Error Occurred."
"https://seequent.com/error-codes/file-api/api-errors"
{
"detail": "string",
"status": 500,
"title": "An Error Occurred.",
"type": "https://seequent.com/error-codes/file-api/api-errors"
}
502
/file-api/metadata/store-error
A database error occurred when deleting the specified file.
/file-api/bad-gateway
Bad gateway. A response required to handle the request is invalid.
502
"File Metadata Storage Operation Failed."
"https://seequent.com/error-codes/file-api/metadata/store-error"
502
"Bad Gateway."
"https://seequent.com/error-codes/file-api/bad-gateway"
{
"detail": "string",
"status": 502,
"title": "File Metadata Storage Operation Failed.",
"type": "https://seequent.com/error-codes/file-api/metadata/store-error"
}