post https://example.com/v1/oauth2/client
This API request allows you to register new OAuth2 client in the system.
NOTE: only users with 'ADMIN' role are capable to execute this request.
Some rules for data which should be sent in request:
- Scope can have only following values: 'read', 'write'
- Grant types can have following values: 'password', 'refresh_token'
Response status codes:
201 - client has been successfully registered
400 - you specified invalid data in one or few fields
401 - you are not authorized
422 - client with specified ID already exists
500 - if unhandled and unexpected exception happened