Mutations
deleteOauthApp
Delete an OAuth application registration and its Auth0 client.
MUTATION
deleteOauthApp(_etag: String!, id: Int!): DeleteOAuthAppArguments
_etag
String!
required
id
Int!
required
Returns
oauthApp
Mutation
mutation DeleteOauthApp($_etag: String!, $id: Int!) {
deleteOauthApp(_etag: $_etag, id: $id) {
oauthApp {
_created
_etag
_updated
appType
callbackUris {
_created
createdById
id
uri
uriType
}
clientId
}
}
}Variables
{
"_etag": "string",
"id": 1
}Response
{
"data": {
"deleteOauthApp": {
"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 DeleteOauthApp($_etag: String!, $id: Int!) {
deleteOauthApp(_etag: $_etag, id: $id) {
oauthApp {
_created
_etag
_updated
appType
callbackUris {
_created
createdById
id
uri
uriType
}
clientId
}
}
}Variables
{
"_etag": "string",
"id": 1
}Response
{
"data": {
"deleteOauthApp": {
"oauthApp": {
"_created": "value",
"_etag": "string",
"_updated": "value",
"appType": "string",
"callbackUris": [
{
"_created": "value",
"createdById": 1,
"id": 1,
"uri": "string",
"uriType": "string"
}
],
"clientId": "string"
}
}
}
}