API Keys
Create API Key
This operation creates a new API key with the specified permissions. When the status is set to active the API Key is immediately usable.
Requires apiKeys:Create permission.
post/apiKeys
Request
- Base URLhttps://eu-west-1.api.silverflow.com/v1
- Auth
- HTTP basic
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"status": "disabled",
"description": "API key for merchant management",
"permissions": [
"reports:All"
],
"ipRanges": [
"185.184.111.39/32"
]
}Response
The created API Key
Example response
{
"key": "apk-1nM6msvaara1OMHzU7Zd",
"status": "active",
"agentKey": "cgt-6y5t4r3edcgfrthb",
"description": "API Key for the data lake",
"permissions": [
"reports:All"
],
"ipRanges": [
"185.184.111.39/32"
],
"created": "2021-05-27T10:57:52Z",
"lastModified": "2021-05-27T10:57:52Z",
"version": 1
}Changes
No recorded changes to this operation across all 1 revision of this API.