AladiaDocs
Api referenceRooms

Delete all attachments of a room

Delete all attachments

DELETE
/v2/rooms/{id}/attachments

Delete all attachments

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

deleteForAll?boolean
leave?boolean

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X DELETE "https://example.com/v2/rooms/string/attachments" \  -H "Content-Type: application/json" \  -d '{    "attachmentIds": [      "string"    ]  }'
{}