PATCH
/
v2
/
organizations
/
{orgId}
/
memberships
/
{membershipId}
curl --request PATCH \
  --url https://api.cal.com/v2/organizations/{orgId}/memberships/{membershipId} \
  --header 'Content-Type: application/json' \
  --data '{
  "accepted": true,
  "role": "MEMBER",
  "disableImpersonation": true
}'
{
  "status": "success",
  "data": {
    "id": 123,
    "userId": 123,
    "teamId": 123,
    "accepted": true,
    "role": "MEMBER",
    "disableImpersonation": true
  }
}

Path Parameters

orgId
number
required
membershipId
number
required

Body

application/json
accepted
boolean
role
enum<string>
Available options:
MEMBER,
OWNER,
ADMIN
disableImpersonation
boolean

Response

200 - application/json
status
enum<string>
required
Available options:
success,
error
data
object
required