Skip to main content

Delete API Key

This endpoint provides the functionality to delete a specific API key. Users can use this endpoint to revoke access for a particular API key that they no longer wish to use.

Endpoint: https://api.amlwatcher.com/api/api-key

Method: DELETE

Sample Request
DELETE /api/api-key HTTP/1.1
Host: api.amlwatcher.com
Authorization: Bearer Token
Content-Type: application/json
Content-Length: 88

{
"api_key": "your-api-key"
}

Request

ParametersRequiredTypeDescription
api_keyYesStringThe api_key represents the existing API key that a user wants to delete.

Response

ParametersDescription
errorWhenever there is an error in your request, this param will have details of that error; otherwise it’ll remain empty.
statusThe status field is set to either “SUCCESS” or “FAIL”, indicating that the API request resulted in a successful or failure/error condition respectively.
dataAn array containing the actual response elements.
Sample Response
{
"error": false,
"status": "SUCCESS",
"data": {
"message": "Api key successfully removed"
}
}