[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator
Update Organization OAuth Application Secret By Orgnization ID And Application ID
DescriptionImmediately replaces an old OAuth App’s secret with a new secret. Secret expiration time does not apply.
Request
URLURL
https://console.navigator.vmware.com/cphub/api/auth/v2/orgs/{orgId}/oauth-apps/{oauthAppId}/secret
Path Parameters
Path Parameters
string
orgId
Required
Unique identifier (GUID) of the organization.
string
oauthAppId
Required
The unique identifier of the OAuth Application.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse 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
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
cURL Command
curl -X PUT https://console.navigator.vmware.com/cphub/api/auth/v2/orgs/{orgId}/oauth-apps/{oauthAppId}/secret
[{"label":"Latest (1.0)","version":"latest"}]
cloud-partner-navigator