Delete the file with the specified file ID

delete/documents/{objectTypeName}/{objectId}/files/{fileId}

Deletes the file with the specified ID from the object that is specified in the path.

Request Samples

1

Response Samples

1Not Available

Path Parameters

NameTypeRequiredDescription
fileId
string
true

The ID of the file.

objectId
string
true

The ID of the object.

objectTypeName
string
true

The name of the object type to which the object belongs.

Responses

StatusMeaningDescription
204No Content

The file was successfully deleted.

400Bad Request

The request was invalid. The file ID cannot be null or invalid.

Schema
404Not Found

The object does not exist or the user does not have the correct permissions to view the object.

Schema