FruxonDocs
Agent NetworkGraph

Approves a pending access request, granting the role that was asked for.

Flips the pending row to active, so the user immediately holds the Viewer or Editor role they asked for, and emails them the decision. Requires Admin on the Application. The role is not negotiable here — to grant something other than what was requested, approve and then change the role, or use `PUT /v1/tenants/{tenant}/networks/{network}/collaborators` directly, which both grants and activates in one call. Rejected with 400 when the user has no pending request.

POST
/v1/tenants/{tenant}/networks/{network}/collaborators/{user}:approve
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

network*string

The Application id.

Formatuuid
user*string

The user id to approve.

tenant*string

The tenant identifier

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/string/networks/497f6eca-6276-4993-bfeb-53cbbbba6f08/collaborators/string:approve"
{
  "networkId": "00000000-0000-0000-0000-000000000000",
  "userId": "string",
  "role": "VIEWER",
  "status": "PENDING",
  "alertPreferences": {
    "channels": {}
  },
  "createdAt": 0,
  "modifiedAt": 0,
  "tenantId": "00000000-0000-0000-0000-000000000000"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}