Mutations
registerOauthApp
Register a new OAuth application for the organization.
MUTATION
registerOauthApp(appType: String!, name: String!): RegisterOAuthAppArguments
appType
String!
required
name
String!
required
Returns
oauthApp
Mutation
mutation RegisterOauthApp($appType: String!, $name: String!) {
registerOauthApp(appType: $appType, name: $name) {
oauthApp {
_created
_etag
_updated
appType
callbackUris {
_created
createdById
id
uri
uriType
}
clientId
}
}
}Variables
{
"appType": "string",
"name": "string"
}Response
{
"data": {
"registerOauthApp": {
"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 RegisterOauthApp($appType: String!, $name: String!) {
registerOauthApp(appType: $appType, name: $name) {
oauthApp {
_created
_etag
_updated
appType
callbackUris {
_created
createdById
id
uri
uriType
}
clientId
}
}
}Variables
{
"appType": "string",
"name": "string"
}Response
{
"data": {
"registerOauthApp": {
"oauthApp": {
"_created": "value",
"_etag": "string",
"_updated": "value",
"appType": "string",
"callbackUris": [
{
"_created": "value",
"createdById": 1,
"id": 1,
"uri": "string",
"uriType": "string"
}
],
"clientId": "string"
}
}
}
}