Create API key
note
You cannot retrieve API keys in clear text, please store your API key in a secure location after it has been generated.
The Automatic Expiry of API Consumer Keys value in the Mambu UI does not affect the expiration time of an API key created by this endpoint. For more information, see Automatic API key expiration for rotated keys in our User Guide. If you do not specify an expiration time in your request then the API key does not expire, unless rotated or deleted.
POST/consumers/{apiConsumerId}/apikeys
Request
Responses
- 102
- 201
- 400
- 401
- 403
- 404
Your idempotent request was already submitted and is currently being processed, try again later.
API key created.
A validation error occurred
Unauthorized
Forbidden
API consumer not found.