# Delete existing API key
API call format
DELETE /images/api-keys/{guid} `` //Use token autorization
Description
Store new API key
Precondition:
- Authorization token is needed.
- Mandatory elements:
- <api_key_guid> - valid api key guid. Take a specific image guid using Image list API call.
Postcondition
- On success response code should be 200
- On success message for successful deletion is returned.
- On failure an error will be returned with the right error code and description.
Example:
[Request] DELETE https://<base_api_url>/images/api-keys/<api_key_guid>
[Request Headers] {"Content-Type":"application/json","Accept":"application/json","Authorization":"<IdToken>"} //Use token autorization
[Response] 200
[Response Headers] {"Content-Type":["application/json"],"Content-Length":["..."],"Connection":["keep-alive"],"Date":["..... GMT"],"x-amzn-RequestId":["....."],....]}
[Response]
{
"status": true,
"data": "Item was deleted successfully"
}