OAuth

OAuth2 client management

Create OAuth client

post

Create a new OAuth2 client application.

Required permissions, when user-scoped authentication is used: OAUTH_TOKEN_CREATE. Also, when the user-scoped authentication is used, user should have developer mode enabled.

Authorizations
AuthorizationstringRequired

OAuth2 Bearer token obtained from authentication endpoint

Body
orgIdinteger · int32Optional

Organization ID, in which OAuth client will be created. If not provided, the organization, that is associated with the authentication token, will be used.

Example: 101
namestring · min: 1 · max: 64Required

Client application name

Example: My IoT App
redirectUrlsstring · uri[] · max: 10Optional

Redirect URIs

Example: https://myapp.com/oauth/callback
Responses
post
/api/v1/organization/oauth/clients/create

Last updated

Was this helpful?