Mutations
updateOauthApp
Update an OAuth application registration.
MUTATION
updateOauthApp(_etag: String!, id: Int!, name: String!): UpdateOAuthAppArguments
_etag
String!
required
id
Int!
required
name
String!
required
Returns
oauthApp
Mutation
mutation UpdateOauthApp($_etag: String!, $id: Int!, $name: String!) {
updateOauthApp(_etag: $_etag, id: $id, name: $name) {
oauthApp {
_created
_etag
_updated
appType
callbackUris {
_created
createdById
id
uri
uriType
}
clientId
}
}
}Variables
{
"_etag": "string",
"id": 1,
"name": "string"
}Response
{
"data": {
"updateOauthApp": {
"oauthApp": {
"_created": "value",
"_etag": "string",
"_updated": "value",
"appType": "string",
"callbackUris": [
{
"_created": "value",
"createdById": 1,
"id": 1,
"uri": "string",
"uriType": "string"
}
],
"clientId": "string"
}
}
}
}Was this page helpful?
⌘I
Mutation
mutation UpdateOauthApp($_etag: String!, $id: Int!, $name: String!) {
updateOauthApp(_etag: $_etag, id: $id, name: $name) {
oauthApp {
_created
_etag
_updated
appType
callbackUris {
_created
createdById
id
uri
uriType
}
clientId
}
}
}Variables
{
"_etag": "string",
"id": 1,
"name": "string"
}Response
{
"data": {
"updateOauthApp": {
"oauthApp": {
"_created": "value",
"_etag": "string",
"_updated": "value",
"appType": "string",
"callbackUris": [
{
"_created": "value",
"createdById": 1,
"id": 1,
"uri": "string",
"uriType": "string"
}
],
"clientId": "string"
}
}
}
}