Skip to main content

Access Change Proposals

Preview a member's access, propose a role, permission or group change with its exact before and after, then confirm or cancel it, with every outcome in the audit log.

An access change runs in two steps. A proposal shows exactly what would change and changes nothing; only a confirmation by the same person makes the change, after checking it again against the current state and that person's permissions. Proposals expire if not confirmed.

GET/v1/team/access/activity

cURL

curl -X GET https://api.talonic.com/v1/team/access/activity \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/team/access/preview/{userId}

cURL

curl -X POST https://api.talonic.com/v1/team/access/preview/$USERID \
  -H "Authorization: Bearer $TALONIC_API_KEY"
GET/v1/team/access/proposals

cURL

curl -X GET https://api.talonic.com/v1/team/access/proposals \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/team/access/proposals

cURL

curl -X POST https://api.talonic.com/v1/team/access/proposals \
  -H "Authorization: Bearer $TALONIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind": "set_permissions", "member": "\u2026"}'
POST/v1/team/access/proposals/{id}/confirm

cURL

curl -X POST https://api.talonic.com/v1/team/access/proposals/$ID/confirm \
  -H "Authorization: Bearer $TALONIC_API_KEY"
POST/v1/team/access/proposals/{id}/cancel

cURL

curl -X POST https://api.talonic.com/v1/team/access/proposals/$ID/cancel \
  -H "Authorization: Bearer $TALONIC_API_KEY"
Errors: 401 missing or invalid credential; 403 with a reason (insufficient_scope, insufficient_role, person_inactive, not_member, no_person, workspace_read_only, or STEP_UP_REQUIRED); 404 unknown id in this workspace; 429 rate limited (see Retry-After).