curl --request DELETE \
--url https://apix.us.amity.co/api/v3/files/{fileId} \
--header 'Authorization: Bearer <token>'
{
"status": "<string>",
"data": {
"fileId": "<string>"
}
}
Delete file (also remove from cloud). Only uploader and admin can remove.
curl --request DELETE \
--url https://apix.us.amity.co/api/v3/files/{fileId} \
--header 'Authorization: Bearer <token>'
{
"status": "<string>",
"data": {
"fileId": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
File id
50
File Information
The response is of type object
.