cURL
curl --request DELETE \ --url https://api.wetrocloud.com/v1/collection/delete/ \ --header 'Authorization: <api-key>' \ --header 'Content-Type: multipart/form-data' \ --form 'collection_id={{collection_id}}'
{ "message": "Collection deleted successfully", "success": true }
This endpoint is used to delete a collection.
collection_id
message - A message indicating the result of the deletion.
message
success - Indicates whether the deletion was successful.
success
"{{collection_id}}"
OK
The response is of type object.
object