Generate a new API key. The key value is only returned once — store it securely.
Bearer HTTP authentication. Allowed headers Authorization: Bearer <API_KEY>
New API key with name, permissions, and optional domain scope.
The name of the api key
The status for the api key
enabled, disabled, revoked The permission type for the api key
fullAccess, sendingAccess The domain ids to restrict the api key to (only for sendingAccess)
Successful response.