Delete a Collection

Purpose

This API is used to delete a specific bookmark collection.

OAuth Scope

Use the scope

ZohoMail.links.ALL (or) ZohoMail.links.DELETE

to generate the Authtoken.

ALL - Grants full access to links.

DELETE - Grants delete access to links.

Request URL

Method: DELETE

For Group :

https://mail.zoho.com/api/links/groups/{groupId}/collections/{collectionId}

or

For Personal :

https://mail.zoho.com/api/links/me/collections/{collectionId}

Path Parameters

 

* - Mandatory parameter

Response Codes

Refer here for the response codes and their meaning.

``

Sample Request - For Group

Copiedcurl "https://mail.zoho.com/api/links/groups/123456789/collections/3764869000000013001" \
-X DELETE \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization:Zoho-oauthtoken *****"

Sample Request - For Personal

Copiedcurl "https://mail.zoho.com/api/links/groups/me/collections/3764869000000013001" \
-X DELETE \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization:Zoho-oauthtoken *****"

Sample Success Response

Copied{
  "status": {
    "code": 200,
    "description": "success"
  }
}

Sample Failure Response

Copied{
  "status": {
    "code": 500,
    "description": "Internal Error"
  },
  "data": {}
}