Update Organization OAuth Application By Organization ID And Application ID
DescriptionUpdates the details and settings of an OAuth App that was created in a specified organization.
Request
URLURL
Path Parameters
Path Parameters
Unique identifier (GUID) of the organization.
The unique identifier of the OAuth Application (client).
Query Parameters
Query Parameters
context can be PROVIDER, TENANT
Request Body
The request body to update organization OAuth Application.
{
"accessTokenTTL": 0,
"allowedScopes": {
"generalScopes": [
"string"
],
"organizationScopes": {
"roles": [
{
"name": "string"
}
]
},
"servicesScopes": [
{
"allRoles": false,
"roles": [
{
"name": "string"
}
],
"serviceDefinitionId": "string"
}
]
},
"description": "string",
"displayName": "string",
"ownerOnlySecretRotation": false,
"secret": "string",
"secretRotationExpirationInSeconds": 0
}
The organization OAuth Application access token time to live in seconds.
The allowed general, organization and service scopes of access.
The description of the organization OAuth Application
The organization OAuth Application display name.
When set to ’true’, the client is not allowed to rotate its own secret.
The organization OAuth Application secret
The secret rotation expiration in seconds. The old OAuth Application secret will expire after it.
Authentication
Response
Response BodyResponse Body
200 OK
{
"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
}
The organization OAuth Application access token time to live in seconds.
The allowed general, organization and service scopes of access.
Timestamp indicating when the organization OAuth Application was created.
The description of organization OAuth Application.
The organization OAuth Application display name.
The list of OAuth grant types.
The unique identifier of the OAuth Application.
Timestamp indicating when the organization OAuth Application was updated.
When set to ’true’, the client is not allowed to rotate its own secret.By default, client is enabled to self-rotate its secret
The secret rotation expiration in seconds. The old OAuth Application secret will expire after it.
Errors
Bad Request - The request is either incomplete or incorrect
Unauthorized - The user is not authorized to use the API
Forbidden - User does not have permission for this operation