Skip to content

Disassociate Licence

Licence Type

Disassociate Licence API allows the user to disassociate a resource from all its associated licences.

Request

Endpoint

DELETE /v4/account/{account_id}/{resource_type}/{resource_id}/licences

Path Parameters

Name                       Description Type Examples
*{account_id} Provided identifier of the account. string
*{resource_type} Identifier of the type of the resource to associate the competitor to. string poi
*{resource_id} Identifier of the resource to associate the competitor to.
Value obtainable from $.results[*].resource.id field of List Licences Response Body.
string XXeUNbmtYZTsH7UGvNfXWo
Supported values for {resource_type}
  • poi

Header Parameters

Name                          Description Type Examples                         
*x-api-key Provided API key {x_api_key} that allows authentication. string
*Authorization Provided token {jwt_bearer} that allows authorization. string Bearer {jwt_bearer}
Example
curl -X DELETE 'https://api.datappeal.io/v4/licence/account/{account_id}/poi/EujqFHQra7ypyuBEgyFiXw/licences' \
-H 'x-api-key: {x_api_key}' \
-H 'Authorization: Bearer {jwt_bearer}' \

Response

Status

Status Description
204 Resource has been successfully disassociated from all the licences.