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.
DELETE/api/api-key
DELETE https://api.amlwatcher.com/api/api-key HTTP/1.1Host: api.amlwatcher.comAuthorization: Bearer TokenContent-Type: application/jsonContent-Length: 88{"api_key": "your-api-key"}
Request
Parameters | Required | Type | Description |
---|---|---|---|
api_key | Yes | String | The api_key represents the existing API key that a user wants to delete. |
Response
Parameters | Description |
---|---|
error | Whenever there is an error in your request, this param will have details of that error; otherwise it’ll remain empty. |
status | The status field is set to either “SUCCESS” or “FAIL”, indicating that the API request resulted in a successful or failure/error condition respectively. |
data | An array containing the actual response elements. |
Sample Response
{
"error": false,
"status": "SUCCESS",
"data": {
"message": "Api key successfully removed"
}
}