Create a new client
POST/settings/clients
Creates a new confidential client and returns its credentials. You must
be an admin of the target tenant; members can list and use clients but
cannot create them.
Confidential clients are used for M2M communication. You should not use a client ID and client secret pair in any public-facing applications where the secret cannot be protected - please contact Onteric if you need to set up a public client, the API supports this.
The client secret is returned only once upon successful creation of the new client credentials, so please ensure you save this.
Request
Responses
- 201
- 400
- 401
- 403
Client created successfully. The response includes the clientSecret which is only returned the once, and must be saved as it cannot be retrieved at a later date.
Invalid payload, or one or more scopes are not available via clients
Missing or invalid bearer token
Token does not carry the management:clients:write scope, or you are not an admin of the target organisation