apiClientCreate
Graphql fields and variables for the apiClientCreate mutation
Create an OAuth2.0 API application for generating API access tokens
Scope required: security:write
For a complete list of input attributes see the ApiClientAttributes type
mutation apiClientCreate ($attributes: ApiClientAttributes!) {
apiClientCreate (attributes: $attributes) {
apiClient {
accessTokenExpiresIn
authorizationCodeEnabled
clientCredentialsEnabled
clientId
clientSecret
entityId
id
name
ownerId
redirectUri
}
errors
}
}
Arguments
{
"attributes": {
"name": "",
"entityId": "",
"redirectUri": "",
"scopes": [
""
],
"clientCredentialsEnabled": true,
"authorizationCodeEnabled": true,
"accessTokenExpiresIn": 123
}
}
Name
Type
Description
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?