Oauth2SettingsAddRequest*

POST {{base_url}}/Oauth2SettingsAddRequest

Creates a single OAuth 2.0 setting.

* See Request Names under the Conventions section of the Using the API Reference topic.

API
OAuth 2.0 API

Requires Authentication
Yes (Advanced)

Returns
Oauth2Settings*

Batch?
No

Request Body

[{"name"=>"Provider", "value"=>"{{integer}}", "datatype"=>"string"}, {"name"=>"ClientId", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"ClientSecret", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"TenantId", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"WbScope", "value"=>"{{integer}}", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
AcceptstringRequired.
The type of content accepted by the API endpoint.
Content-TypestringRequired.
The type of content supported by the API endpoint.

RESPONSES

status: OK

{"Id":25,"ProviderId":0,"ClientId":"1234","ClientSecret":"dfssdg","TenantId":"1234","WbScopeId":0,"CreatedDate":"2023-02-21T13:27:00.677Z","LastUpdatedDate":"2023-02-21T13:27:00.677Z","CreatedBy":2,"LastUpdatedBy":2,"Active":false}