Skip to content
AugentaDocsOpen console ↗
Set Workspace membership

Documentation

API reference
View Markdown

Set Workspace membership

PUT/v1/workspaces/{id}/members/{userId}

An administrator grants member or admin access to an existing organization member. Organization administrators inherit access and cannot be changed here.

Authentication

Use your signed-in console session or a person's WorkOS access token for this setup operation. See authentication and permissions.

Request

Parameters

idstringrequired

path parameter.

Min length: 1

userIdstringrequired

path parameter.

Min length: 1

Body fields

workspaceRolestringoptional

Allowed: "member""admin"

Default: "member"

Responses

Membership set. No response body.