[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator

Update Organization OAuth Application Secret By Orgnization ID And Application ID

Description

Immediately replaces an old OAuth App’s secret with a new secret. Secret expiration time does not apply.

Request

Request

URL

URL


put
https://{api_host}/v2/orgs/{orgId}/oauth-apps/{oauthAppId}/secret
Copy

Path Parameters

Path Parameters

string
orgId Required

Unique identifier (GUID) of the organization.


string
oauthAppId Required

The unique identifier of the OAuth Application.


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns ClientCredentials of type application/json
{
	"clientId": "...",
	"clientSecret": "..."
}
string
clientId Optional

The unique identifier of the client.


string
clientSecret Optional

The value of the client secret.

Errors

Errors

400

Bad Request - The request is either incomplete or incorrect


401

Unauthorized - The user is not authorized to use the API


403

Forbidden - User does not have permission for this operation


500

Internal Server Error - An unexpected error has occurred while processing the request

Code Samples

Code Samples

cURL Command

curl -X PUT https://{api_host}/v2/orgs/{orgId}/oauth-apps/{oauthAppId}/secret


Feedback

Was this page helpful?