Skip to main content

Delete collection

Delete a an existing collection.

Path Parameters
    collectionId string required

    The Id of the collection to be deleted.

Responses

Request has been handled successfully.


Schema
    success boolean
    data object
    message

    Possible values: [collection deleted]

DELETE /v1/collections/:collectionId

Authorization

name: x-auth-tokentype: apiKeyin: headerdescription: The JWT access token required for accessing the endpoints.
name: x-client-idtype: apiKeyin: headerdescription: Your client id

Request

Base URL
https://apis-prelive.quran.foundation/auth
x-auth-token
x-client-id
collectionId — path required
curl / cURL
curl -L -X DELETE 'https://apis-prelive.quran.foundation/auth/v1/collections/:collectionId' \
-H 'Accept: application/json' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'