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

Get Organization OAuth Application By Organization ID And Application ID

Description

Retrieves information about a specified OAuth App within an organization.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
orgId Required

Unique identifier (GUID) of the organization.


string
oauthAppId Required

The unique identifier of the OAuth Application (client).


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns CpnOrgOauthAppResponse of type application/json
{
	"accessTokenTTL": 0,
	"allowedScopes": {
		"generalScopes": [
			"string"
		],
		"organizationScopes": {
			"roles": [
				{
					"name": "string"
				}
			]
		},
		"servicesScopes": [
			{
				"allRoles": false,
				"roles": [
					{
						"name": "string"
					}
				],
				"serviceDefinitionId": "string"
			}
		]
	},
	"createdAt": 0,
	"description": "string",
	"displayName": "string",
	"grantTypes": [
		"string"
	],
	"id": "string",
	"lastUpdatedAt": 0,
	"ownerOnlySecretRotation": false,
	"secretRotationExpirationInSeconds": 0
}
integer as int32
accessTokenTTL Optional

The organization OAuth Application access token time to live in seconds.


allowedScopes Optional

The allowed general, organization and service scopes of access.


integer as int64
createdAt Optional

Timestamp indicating when the organization OAuth Application was created.


string
description Optional

The description of organization OAuth Application.


string
displayName Optional

The organization OAuth Application display name.


array of string
grantTypes Optional

The list of OAuth grant types.


string
id Optional

The unique identifier of the OAuth Application.


integer as int64
lastUpdatedAt Optional

Timestamp indicating when the organization OAuth Application was updated.


boolean
ownerOnlySecretRotation Optional

When set to ’true’, the client is not allowed to rotate its own secret.By default, client is enabled to self-rotate its secret


integer as int32
secretRotationExpirationInSeconds Optional

The secret rotation expiration in seconds. The old OAuth Application secret will expire after it.

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://console.navigator.vmware.com/cphub/api/auth/v2/orgs/{orgId}/oauth-apps/{oauthAppId}


Feedback

Was this page helpful?