f0f28319e448
Create an API key
Create a new API key for the given organization. This API key authorizes the organization to retrieve a per-user access token for users in this organization which allows the users to access most of Amigo's API endpoints. This API key is valid for the duration specified in the request. There's no way to extend the duration of an API key. The API key is not retrievable after issuance, so please keep it in a secure location.
Each organization has a maximum limit of 20 API keys.
Permissions
This endpoint requires the following permissions:
- Organization:CreateAPIKey.
- This endpoint requires the authenticated user to have more privileges than the role associated with the API key.
Path parameters
Headers
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
Request body
Response
Succeeded.