# List all API keys

API call format

GET /images/api-keys				//Use token autorization

Description

List all existing API key guids

Precondition:

  • Authorization token is needed.

Postcondition

  • On success response code should be 200
  • On success Api guids details are returned.
  • On failure an error will be returned with the right error code and description.

Example:

[Request] GET https://<base_api_url>/images/api-keys		
[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": [
    {
      "name": "test2",
      "guid": "<api_key_guid>",
      "active": 1
    },
    {
      "name": "test1",
      "guid": "<api_key_guid>",
      "active": 1
    }
  ]
}