Rejects a pending access request, removing it.
Deletes the pending row and emails the requester the decision. Requires Admin on the Application. The user keeps no trace of the request and may ask again. Scoped to the pending row only, so an approval that lands first is never silently undone by a rejection arriving late. Rejected with 400 when the user has no pending request.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The Application id.
uuidThe user id to reject.
The tenant identifier
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/networks/497f6eca-6276-4993-bfeb-53cbbbba6f08/collaborators/string:reject"{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Grants a user access to the Network, or changes an existing collaborator's role.
Grants the given user the specified role, or upgrades/downgrades their existing role. A new grant with no role defaults to Viewer. The last remaining Admin cannot be demoted. Roles: Viewer (read), Editor (read + configure), Admin (everything, including managing collaborators). Applies immediately.
Requests access to the Application for the calling user.
Creates a pending request and emails the Application's Admins. The row confers nothing until an Admin approves it. Viewer or Editor may be requested; Admin may not — it is granted, not asked for. Deliberately not gated on Application access: the whole point is that the caller does not have any.