Delete the file with the specified file ID

delete/documents/{objectTypeName}/{objectId}/files/{fileId}
Internal-Use Only

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

Request Samples

1

Response Samples

1No example avaliable

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 ContentThe file was successfully deleted.
400Bad RequestThe request was invalid. The file ID cannot be null or invalid.Schema
404Not FoundThe object does not exist or the user does not have the correct permissions to view the object.Schema