Delete API Key
This process disables an active key if it was created by your access key and it is not your own. This proces also sets the end date to the current time. Secret Hmac and Today Code Required. No Caching.
POST
/Api/Delete/Key
curl \
--request POST 'https://api.wrtm.io/v1.0/Api/Delete/Key' \
--header "X-ApiKey: $API_KEY" \
--header "Authorization: X-apidate $ACCESS_TOKEN" \
--header "Authorization: X-apihmac $ACCESS_TOKEN" \
--header "Authorization: X-apitoday $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"KeyId":1001,"ApiKey":"MyTestApiKey"}'
Request examples
{
"KeyId": 1001,
"ApiKey": "MyTestApiKey"
}
Response examples (200)
{
"DeleteDate": "Mon, 15 May 2023 14:34:17 GMT"
}
Response examples (404)
Error: Cannot find key id 1001