query TenantApplicationById($id: ID!) {
tenantApplicationById(id: $id) {
accessToken {
expiresIn
token
}
apiSelectors
audiences
clientId
createdAt
createdBy
}
}{
"id": "id"
}{
"data": {
"tenantApplicationById": {
"accessToken": {
"expiresIn": 1,
"token": "string"
},
"apiSelectors": [
"string"
],
"audiences": [
"string"
],
"clientId": "string",
"createdAt": "value",
"createdBy": "value"
}
}
}tenantApplicationById
Returns one tenant-level OAuth machine application owned by the current tenant.
tenantApplicationById(id: ID!): TenantApplication!Arguments
Global id of the tenant application (TenantApplication.id).
Returns
Issues an access token for this application. Omit both arguments to target the tenant API and include all granted scopes.
Authorized API audience to target. Defaults to the current tenant API audience when omitted.
Granted tenant capability scopes to include. Omit to include every scope granted to the application.
Selected access-catalog keys that authorize destination APIs.
OAuth audiences this application may request. The tenant API audience is always included.
OAuth client id used with the client credentials grant.
When the application was created.
Id of the user or application that created the item. Null if not recorded.
Human-readable purpose or usage notes supplied by the tenant.
Version tag for optimistic concurrency. Pass back the value you last read when you change the item.
Global id of the tenant application. tenantApplicationById, updateTenantApplication and deleteTenantApplication take it.
When the application configuration was last changed.
Id of the user or application that last changed the item. Null if not recorded.
Unique display name within the tenant.
Occtoo-owned resource grants. sources allows every source; source:{id} grants one source.
Granted capability keys selected from scope nodes in the access catalog.
Tenant-defined labels used to organize the application.
query TenantApplicationById($id: ID!) {
tenantApplicationById(id: $id) {
accessToken {
expiresIn
token
}
apiSelectors
audiences
clientId
createdAt
createdBy
}
}{
"id": "id"
}{
"data": {
"tenantApplicationById": {
"accessToken": {
"expiresIn": 1,
"token": "string"
},
"apiSelectors": [
"string"
],
"audiences": [
"string"
],
"clientId": "string",
"createdAt": "value",
"createdBy": "value"
}
}
}Was this page helpful?