set_member_access

Remaining arguments go in a JSON object body.

patch/v1/members/{userId}

Request

  • Base URL: https://app.agentlinkops.com
  • URL: https://app.agentlinkops.com/v1/members/{userId}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

userIdstring required

user ID from create/list.

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

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

Remaining arguments go in a JSON object body.

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.