Update Application
Updates an existing application's configuration. Use update_mask to specify which fields to update.
Required scopes: auth:apps:edit (organisation-wide) or auth:apps:edit:own (applications owned by a team you belong to)
Authorization
BearerAuth JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
1 <= length <= 641 <= length <= 641 <= length <= 64uri1 <= length <= 128Deprecated: set sign_in_mode (mask path "sign_in_mode"). Honoured only under the mask path "automatic_enrollment" while sign_in_mode is UNSPECIFIED: true means EVERYONE, false means TEAM_MEMBERS if the application is team-aware, else INVITE_ONLY.
ORGANISATION ADMINISTRATORS ONLY — see CreateApplicationRequest.audience.
items <= 10Deprecated and ignored: the public catalogue is gone.
URL for the validation callback endpoint (called during PAR and consent for RAR)
uriWhether the application understands Xeonr Teams: the explicit switch (see Application.supports_teams), under the mask path "supports_teams". Owner-settable. Switching it off is refused (FAILED_PRECONDITION) while team roles, team entitlements or the TEAM_MEMBERS mode exist, naming what is in the way.
Deprecated: set team_enablement (mask path "team_enablement"). Honoured only under the mask path "automatic_team_binding" while team_enablement is UNSPECIFIED: true means SELF_SERVE, false means ADMIN_MANAGED.
Console presentation; use update_mask path "console" to apply it.
Lets clients created by RFC 7591 dynamic registration request this application's scopes without holding a ClientApplicationBinding. Only the PUBLIC-tier scopes that are not role-gated or service-account-only are admitted, and the user's consent and enrollment gates still apply. ORGANISATION ADMINISTRATORS ONLY.
ORGANISATION ADMINISTRATORS ONLY: marks a first-party Xeonr application.
Use update_mask path "platform" to apply it; a caller without the
org-wide auth:apps:edit is refused if it changes the value. Not
available on CreateApplicationRequest at all. validate:skip: a flag, nothing to constrain
Who can sign in; mask path "sign_in_mode".
"SIGN_IN_MODE_UNSPECIFIED" | "SIGN_IN_MODE_EVERYONE" | "SIGN_IN_MODE_TEAM_MEMBERS" | "SIGN_IN_MODE_INVITE_ONLY"Who may enable the application on a team; mask path "team_enablement". SELF_SERVE needs an organisation administrator and a platform application.
"TEAM_ENABLEMENT_UNSPECIFIED" | "TEAM_ENABLEMENT_ADMIN_MANAGED" | "TEAM_ENABLEMENT_BY_REQUEST" | "TEAM_ENABLEMENT_SELF_SERVE"TEMPORARY (EP-49), ORGANISATION ADMINISTRATORS ONLY: see
Application.token_claims_by_reference. Applied only under the mask path
"token_claims_by_reference", never by an update without a mask; a caller
without the org-wide auth:apps:edit is refused if it changes the value. validate:skip: a flag, nothing to constrain
Fields to update. If not provided, all set fields are updated. Include "audience" to sync audiences (empty array removes all).
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.ApplicationsService/UpdateApplication" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"application": {
"applicationId": "app_prod_myapp",
"name": "My Application",
"slug": "my-application",
"websiteUrl": "https://myapp.example.com",
"createdAt": "2023-01-15T01:30:15.01Z",
"updatedAt": "2023-01-15T01:30:15.01Z",
"enabledIdps": [
"github",
"discord"
],
"scopes": [
{
"name": "read:users",
"description": "Read access to user data",
"isInternal": true,
"isSensitive": true,
"role": {
"name": "admin",
"iacManaged": true,
"roleType": "ROLE_TYPE_UNSPECIFIED",
"description": "string",
"defaultOwnerRole": true,
"displayName": "Administrator",
"teamRank": 0,
"ownerInherited": true
},
"isDelegatable": true,
"isServiceAccountOnly": true,
"isOrgOnly": true,
"iacManaged": true,
"dynamicCanGrant": true,
"tier": "SCOPE_TIER_UNSPECIFIED"
}
],
"automaticEnrollment": true,
"audience": [
"https://api.example.com"
],
"roles": [
{
"name": "admin",
"iacManaged": true,
"roleType": "ROLE_TYPE_UNSPECIFIED",
"description": "string",
"defaultOwnerRole": true,
"displayName": "Administrator",
"teamRank": 0,
"ownerInherited": true
}
],
"supportsScopedRequests": true,
"applicationCustomConfig": {
"jsonSchema": {
"property1": {},
"property2": {}
},
"uiSchema": {
"property1": {},
"property2": {}
}
},
"public": true,
"resourceTypes": [
{
"type": "bucket",
"jsonSchema": {
"property1": {},
"property2": {}
},
"displayTitleField": "title",
"displayDescriptionField": "description",
"iacManaged": true,
"parents": [
"string"
],
"actions": [
"string"
],
"scopedEnforcement": true
}
],
"validationCallbackUrl": "https://uploads.example.com/api/auth/validate",
"iacManaged": true,
"supportsTeams": true,
"automaticTeamBinding": true,
"allowDynamicClients": true,
"console": {
"product": true,
"origin": "string",
"icon": "string",
"colour": "string",
"category": "string",
"blurb": "string",
"status": "string",
"scopes": [
"string"
],
"pinnedByDefault": true,
"docsUrl": "string",
"supportUrl": "string",
"displayName": "string"
},
"ownerTeam": "urn:xeonr:auth:team:6f1a…",
"ownerTeamSlug": "string",
"platform": true,
"signInMode": "SIGN_IN_MODE_UNSPECIFIED",
"teamEnablement": "TEAM_ENABLEMENT_UNSPECIFIED",
"tokenClaimsByReference": true
}
}Transfer Application POST
Changes which team owns an application. A team owner may move an application between teams they own; handing it to, or taking it from, the organisation requires an organisation administrator. **Required scopes:** `auth:apps:edit` (organisation-wide) or `auth:apps:edit:own` (applications owned by a team you belong to)
Update Scope POST
Updates an existing OAuth scope's configuration. **Required scopes:** `auth:scopes:edit` (organisation-wide) or `auth:apps:edit:own` (applications owned by a team you belong to) or `auth:apps:manage:self` (a service account, for its own application only; never the auth application)