apiClientUpdate
Update an OAuth2.0 API application. The apiClientUpdate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
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
pkceEnabled
redirectUri
}
errors
}
}
ArgumentsLink to Arguments section
{
"id": "456123",
"attributes": {
"name": "",
"entityId": "",
"redirectUri": "",
"scopes": [
""
],
"clientCredentialsEnabled": true,
"authorizationCodeEnabled": true,
"accessTokenExpiresIn": 123,
"pkceEnabled": true
}
}
| Name | Type | Description |
|---|---|---|
| id | ID | |
| attributes | ApiClientAttributes |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| apiClient | ApiClient | |
| errors | List (String) |