Generate a new API key for an application user
PUT/api/v1/ManagedAccount/GenerateApiKey/:managedAccountId
Creates a new API key for an application user and replaces the existing one. Use it to rotate the key. Retrieve the new key with the Reveal API Key call.
Permission required: Admin or App role.
Caution: The change takes effect immediately and applications that use the previous key must be updated.
Request
Responses
- 200
- 400
- 403
- 404
The new key was generated. The body is empty.
The key could not be generated, or the ID is empty.
The signed-in user does not have the required role.
The user or its credential was not found.