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

Update Organization Max OAuth Apps

Description

Updates an organization’s maximum allowed number of OAuth apps. The entered value must be a positive number between 1 and 1000000.

Request

Request

URL

URL


patch
https://console.navigator.vmware.com/cphub/api/auth/v2/orgs/{orgId}/max-oauth-apps
Copy

Path Parameters

Path Parameters

string
orgId Required

Unique identifier (GUID) of the organization.


Request Body

Request Body

MaxOAuthApps of mimetype application/json Optional

Request body to update an organization’s maximum allowed number of OAuth apps.

{
	"maxOAuthApps": 0
}
integer
maxOAuthApps Optional

Organization maximum number of OAuth Apps allowed.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns MaxOAuthApps of type application/json
{
	"maxOAuthApps": 0
}
integer
maxOAuthApps Optional

Organization maximum number of OAuth Apps allowed.

Errors

Errors

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 PATCH -H "Content-Type: application/json" -d '{"maxOAuthApps":0}' https://console.navigator.vmware.com/cphub/api/auth/v2/orgs/{orgId}/max-oauth-apps


Feedback

Was this page helpful?