Skip to main content
GET
/
cloud
/
v1
/
faas
/
keys
/
{project_id}
/
{region_id}
/
{key_name}
Get API key
curl --request GET \
  --url https://api.gcore.com/cloud/v1/faas/keys/{project_id}/{region_id}/{key_name} \
  --header 'Authorization: <api-key>'
{
  "created_at": "<string>",
  "functions": [
    {
      "name": "<string>",
      "namespace": "<string>"
    }
  ],
  "name": "<string>",
  "status": "<string>",
  "description": "key-description",
  "expire": "2023-08-22T11:21:00Z"
}

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

region_id
integer
required

Region ID

key_name
string
required

Key name

Response

200 - application/json

OK

created_at
string
required

Key starts to work

functions
NamespacedName · object[]
required

List of functions using key

name
string
required

Key name

status
string
required

Key status

description
string | null

Optional key description

Example:

"key-description"

expire
string<date-time> | null

Key expires at

Example:

"2023-08-22T11:21:00Z"