Create an API key
Creates a new API key to allow access to one or more project APIs.
POST /api/management/security/apiKeys/
Example request
POST: /api/management/security/apiKeys/
{
"name": "Main website",
"description": "Allows read/write for website project and also access to internal for meeting information",
"enabled": true,
"scopes": [
"delivery_website",
"management_website",
"delivery_internal"
]
}
Response message
HTTP status code | Reason | Response model |
---|---|---|
201 | Created | Api key |
401 | Unauthorized | Error |
403 | Forbidden | Error |
422 | ValidationError | Error |
500 | InternalServerError | Error |