Decide Application Binding Request
Approves or rejects a binding into this application. Approval grants the binding with exactly the scopes named in approved_scopes (a subset of what was requested); approving it again replaces that set. Rejection keeps the binding as rejected, granting nothing, so the requester can see the decision and ask again by changing its scopes.
For a client binding, approval also settles its mode: ENROLLED (people signing in to the client must be enrolled in this application, or are enrolled automatically) or DELEGATED (the client calls this application's API on their behalf without them being enrolled). Approving an already-approved client binding with a different mode changes it.
Required scopes: auth:apps: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)
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
The application being bound TO — the one whose owner is deciding.
1 <= length <= 64What kind of principal is asking to be bound to an application.
"BINDING_PRINCIPAL_TYPE_UNSPECIFIED" | "BINDING_PRINCIPAL_TYPE_CLIENT" | "BINDING_PRINCIPAL_TYPE_SERVICE_ACCOUNT"1 <= lengthApprove grants the binding with approved_scopes. Reject refuses it: the binding is kept as REJECTED (granting nothing) so the requester can see the refusal, and changing its requested scopes or mode asks again. Rejecting an approved binding withdraws it.
CLIENT principals only, with approve: the mode to grant the binding in. UNSPECIFIED keeps the mode the requester asked for (or, for a binding that is already approved, the mode in force). Approving an already-approved binding with a different mode is how its owner changes the mode later. Refused for a service account and on a rejection.
"CLIENT_APPLICATION_BINDING_MODE_UNSPECIFIED" | "CLIENT_APPLICATION_BINDING_MODE_ENROLLED" | "CLIENT_APPLICATION_BINDING_MODE_DELEGATED"With approve: exactly the scopes to approve, each one of the binding's requested scopes. Empty approves the binding with NO scopes (audience and config only); it never means "all". Approving an approved binding again replaces its approved set, which is how the owner approves newly requested scopes or withdraws some. Must be empty on a rejection.
items <= 200CLIENT principals only, with approve: whether this client may exchange its callers' tokens (a person's, or a team bot's API key) for tokens to this application, as those same callers (AUTH-314's caller exchange). Unset keeps the binding's current setting; it is off on every binding until its owner turns it on. Refused for a service account and on a rejection, which clears it. validate:skip a flag, nothing to constrain
Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.ApplicationsService/DecideApplicationBindingRequest" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"empty": {}
}Decide Application Access Request POST
Approves or rejects a person's request for access. Approval creates their direct enrollment with the roles given; rejection keeps the request as rejected, which the requester sees on the consent screen and may ask again. **Required scopes:** `auth:enrollments:edit` (organisation-wide) or `auth:apps:edit:own` (applications owned by a team you belong to)
Delete Application POST
Permanently deletes an application and all associated data including enrollments and scopes. **Required scopes:** `auth:apps:edit` (organisation-wide) or `auth:apps:edit:own` (applications owned by a team you belong to)