apiClientUpdate

Graphql fields and variables for the apiClientUpdate mutation

Update an OAuth2.0 API application

Scope required: security:write

For a complete list of input attributes see the ApiClientAttributes type

mutation apiClientUpdate ($id: ID!, $attributes: ApiClientAttributes!) {
  apiClientUpdate (id: $id, attributes: $attributes) {
      apiClient {
        accessTokenExpiresIn
        authorizationCodeEnabled
        clientCredentialsEnabled
        clientId
        clientSecret
        entityId
        id
        name
        ownerId
        redirectUri
      }
      errors
  }
}

Arguments

{
  "id": "456123",
  "attributes": {
    "name": "",
    "entityId": "",
    "redirectUri": "",
    "scopes": [
      ""
    ],
    "clientCredentialsEnabled": true,
    "authorizationCodeEnabled": true,
    "accessTokenExpiresIn": 123
  }
}
Name
Type
Description

id

ID

Response

Name
Type
Description

apiClient

errors

List (String)

Last updated

Was this helpful?