Post Activate Oauth2 Client

Post Activate Oauth2 Client

This endpoint is used in the dynamic mobile registration flow. The activation code is obtained by calling the /SAAS/auth/device/register endpoint. The client_secret and client_id returned in this call will be used in the call to the /SAAS/auth/oauthtoken endpoint.

Request
URI
POST
https://{api_host}//SAAS/API/1.0/REST/oauth2/activate
COPY
Request Body

the activation code

string of type(s) application/json
Required
Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns OAuth2ClientActivationDetails of type(s) */*
{
    "client_secret": "KVk06Qre8WQLNpMJVcNHsX5d7vHCVFf0DkxR1sDcT90dCZv",
    "client_id": "MyAppTemplate@e9d80cec-4e12-4970-828d-ae4557e33174"
}
string
client_secret
Optional

The generated client secret

string
client_id
Optional

The generated client identifier


400

Activation failed, activation code is invalid or not specified.

Operation doesn't return any data structure

404

Activation failed, organization not found.

Operation doesn't return any data structure

500

Activation failed, unknown error.

Operation doesn't return any data structure