v1
latestOpenAPI 3.0.02026-07-14135106116.2 KBauth
Create a new API Key
API Keys are simple randomly generated strings bound to roles that grant access to resources.
Every API Key maps to attributes defining its validity and can be revoked at any time.
API Key can be passed in the X-API-Key HTTP Header and in the querystring &api_key=
Permission required: edit_backend_settings
post/auth/api-key
Headers
X-Fieldsstring mask
An optional fields mask
Request body
Example request
{
"roles": [
{
"inbox": "abcdef123456789abcdef123",
"role": "abcdef123456789abcdef123"
}
]
}Response
Success
Example response
{
"roles": [
{
"inbox": "abcdef123456789abcdef123",
"role": "abcdef123456789abcdef123"
}
]
}