Identity API \ Delete an identity PHP SDK
|Resource/URI - Common||GET||POST||PUT||DELETE|
||List all identities||–||–||–|
||Read identity details||–||–||Delete identity|
||Read identity contacts||–||–||–|
Request: the code to send to the API
DELETE request to the resource
/identities/<identity_token>.json to immediately delete an identity.
<identity_token> has to be replaced by the unique token of an existing identity.
To prevent you from unintentionally deleting an entry by mixing up the
you have to include the url parameter
confirm_deletion=true in your
If you omit this parameter, the entry will not be removed and an error will be thrown.
Result: the code returned by the API
The API will either return a HTTP status code
200 if the entry was successfully deleted
or an appropriate message body with further details on the error that occured.