Orgs / Memberships

Update a membership

patch/v2/organizations/{orgId}/memberships/{membershipId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

orgIdnumber required
membershipIdnumber required

Headers

Authorizationstring

For non-platform customers - value must be Bearer <token> where <token> is api key prefixed with cal_

x-cal-secret-keystring

For platform customers - OAuth client secret key

x-cal-client-idstring

For platform customers - OAuth client ID

Request body

acceptedboolean
role'MEMBER' | 'OWNER' | 'ADMIN'
disableImpersonationboolean

Response

status'success' | 'error' required

Example response

{
  "status": "success",
  "data": {
    "user": {
      "metadata": {
        "key": "value"
      }
    }
  }
}

Changes

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