Valyourise Logo

ValYouRise

DevelopmentApi

Update workspace member

Updates workspace membership fields such as role, manager assignment, or active state.

PATCH
/api/workspaces/{workspaceId}/members/{membershipId}

Updates workspace membership fields such as role, manager assignment, or active state.

PAT<token>

Personal Access Token

In: header

Path Parameters

workspaceId*string
membershipId*string

Request Body

application/json

role?string
Value in"workspace_admin" | "workspace_user"
managerUserId?string|null
active?boolean
[key: string]?never

Response Body

application/json

curl -X PATCH "https://loading/api/workspaces/string/members/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "$id": "string",
  "organizationId": "string",
  "workspaceId": "string",
  "userId": "string",
  "role": "workspace_admin",
  "managerUserId": "string",
  "active": true,
  "invitedViaInviteId": "string"
}
Empty
Empty