Skip to main content
GET
/
cloud
/
v1
/
caas
/
keys
/
{project_id}
/
{region_id}
List API keys
curl --request GET \
  --url https://api.gcore.com/cloud/v1/caas/keys/{project_id}/{region_id} \
  --header 'Authorization: <api-key>'
{
  "count": 1,
  "results": [
    {
      "containers": [
        {
          "name": "<string>",
          "namespace": "<string>"
        }
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "expire": "2023-07-31T00:00:00Z",
      "is_disabled": true,
      "name": "<string>",
      "source": "<string>",
      "status": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project id Project id

region_id
integer
required

Region id Region id

Query Parameters

limit
integer
default:1000

Optional. Limit the number of returned items Optional. Limit the number of returned items

Required range: x <= 1000
offset
integer
default:0

Optional. Offset value is used to exclude the first set of records from the result Optional. Offset value is used to exclude the first set of records from the result

Required range: x >= 0

Response

200 - application/json

OK

count
integer
required

Number of objects

Required range: x >= 0
results
CaasApiKeySerializer · object[]
required

Objects