Decide Application Access Request
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)
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 <= 64Approve creates the enrollment, with roles. Reject keeps the request as
REJECTED, visible to the requester, who may ask again. validate:skip a flag
With approve: application role names for the new enrollment. Must be empty on a rejection.
items <= 32Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.ApplicationsService/DecideApplicationAccessRequest" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"empty": {}
}Create Role POST
Creates a new role for an application. Roles can be assigned to users and scopes. **Required scopes:** `auth:roles:edit` (organisation-wide) or `auth:apps:edit:own` (applications owned by a team you belong to)
Decide Application Binding Request POST
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)