Create API key
Function as a Service
Create API key
Create a new API key for function authentication. The key can be configured with an expiration time and permissions.
POST
Create API key
Authorizations
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
Example:
1
Region ID
Example:
1
Body
application/json
List of functions using key
Key name
Pattern:
^[a-z][-a-z0-9]{0,24}[a-z0-9]$Example:
"key-name"
Optional key description
Example:
"key-description"
Key expires at
Example:
"2023-08-22T11:21:00Z"
Response
200 - application/json
OK
Key starts to work
Example:
"2023-08-22T11:21:00Z"
List of functions using key
Key name
Pattern:
^[a-z][-a-z0-9]{0,24}[a-z0-9]$Example:
"key-name"
Secret api key
Example:
"secret-key"
Key status
Example:
"Expired"
Optional key description
Example:
"key-description"
Key expires at
Example:
"2023-08-22T11:21:00Z"