Projects and access

Set member access

Shared command transport. All logical arguments in JSON; no query or Idempotency-Key header. See canonical operation reference.

post/v1/commands/set_member_access

Request

  • Base URL: https://app.agentlinkops.com
  • URL: https://app.agentlinkops.com/v1/commands/set_member_access
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Headers

X-Workspace-IDstring

Required when using a Clerk human session. With an API key, omit this header or supply its bound workspace.

Request body

userIdstring required

user ID from create/list.

role'owner' | 'admin' | 'member' | 'viewer'

Workspace access role; cannot exceed the acting member’s authority.

projectIdsstring[] nullable

Accessible project IDs. Where nullable, null grants all projects.

Response

Command result, including queued admission.

user_idstring required
rolestring required
project_idsstring[] nullable required

Accessible project identifiers; null grants access to all workspace projects.

changed_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.