Mutation
mutation UpdateTenantApplication($input: UpdateTenantApplicationInput!) {
updateTenantApplication(input: $input) {
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
tenantApplication {
accessToken {
expiresIn
token
}
apiSelectors
audiences
clientId
createdAt
createdBy
}
}
}Variables
{
"input": {
"apiSelectors": [
"string"
],
"id": "id",
"name": "string",
"resourceSelectors": [
"string"
],
"scopeKeys": [
"string"
],
"tags": [
"string"
]
}
}Response
{
"data": {
"updateTenantApplication": {
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
],
"tenantApplication": {
"accessToken": {
"expiresIn": 1,
"token": "string"
},
"apiSelectors": [
"string"
],
"audiences": [
"string"
],
"clientId": "string",
"createdAt": "value",
"createdBy": "value"
}
}
}
}Mutations
updateTenantApplication
Replaces an existing tenant application’s metadata, capability scopes, resource grants, and authorized APIs.
MUTATION
updateTenantApplication(input: UpdateTenantApplicationInput!): UpdateTenantApplicationPayload!Arguments
input
required
Replacement configuration and the latest concurrency token.
Returns
errors
tenantApplication
Mutation
mutation UpdateTenantApplication($input: UpdateTenantApplicationInput!) {
updateTenantApplication(input: $input) {
errors {
__typename
... on GraphQlError {
code
details {
__typename
}
message
}
}
tenantApplication {
accessToken {
expiresIn
token
}
apiSelectors
audiences
clientId
createdAt
createdBy
}
}
}Variables
{
"input": {
"apiSelectors": [
"string"
],
"id": "id",
"name": "string",
"resourceSelectors": [
"string"
],
"scopeKeys": [
"string"
],
"tags": [
"string"
]
}
}Response
{
"data": {
"updateTenantApplication": {
"errors": [
{
"__typename": "GraphQlError",
"code": "string",
"details": [
{
"__typename": "KeyValuePairOfStringAndString"
}
],
"message": "string"
}
],
"tenantApplication": {
"accessToken": {
"expiresIn": 1,
"token": "string"
},
"apiSelectors": [
"string"
],
"audiences": [
"string"
],
"clientId": "string",
"createdAt": "value",
"createdBy": "value"
}
}
}
}Was this page helpful?