Orgs / Teams / Memberships
Delete a membership
Getting Started
Platform / Managed Users
Platform / Webhooks
Orgs / Attributes
Orgs / Attributes / Options
Orgs / Bookings
Orgs / Delegation Credentials
Orgs / Memberships
Orgs / Orgs
Orgs / Routing forms
Orgs / Schedules
Orgs / Teams
Orgs / Teams / Bookings
Orgs / Teams / Event Types
Orgs / Teams / Memberships
Orgs / Teams / Routing forms
Orgs / Teams / Routing forms / Responses
Orgs / Teams / Users / Schedules
Orgs / Users / Bookings
Orgs / Users / OOO
Orgs / Users / Schedules
Orgs / Webhooks
Api Keys
Bookings
- GETGet all bookings
- POSTCreate a booking
- GETGet a booking
- POSTReschedule a booking
- POSTCancel a booking
- POSTMark a booking absence - provided authorization header refers to owner of the booking.
- POSTAutomatically reassign booking to a new host automatically - provided authorization header refers to person who reassigned the booking.
- POSTReassign a booking to a specific user specified by the :userId - provided authorization header refers to person who reassigned the booking.
- POSTConfirm booking that requires a confirmation - provided authorization header refers to owner of the booking.
- POSTDecline booking that requires a confirmation - provided authorization header refers to owner of the booking.
- GETGet 'Add to Calendar' links for a booking
Calendars
Conferencing
Destination Calendars
Event Types
Event Types / Webhooks
OAuth Clients
Organizations/Teams Conferencing
Schedules
Selected Calendars
Slots
Stripe
Teams / Event Types
Teams / Memberships
Orgs / Teams / Memberships
Delete a membership
DELETE
/
v2
/
organizations
/
{orgId}
/
teams
/
{teamId}
/
memberships
/
{membershipId}
curl --request DELETE \
--url https://api.cal.com/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}
{
"status": "success",
"data": {
"id": 123,
"userId": 123,
"teamId": 123,
"accepted": true,
"role": "MEMBER",
"disableImpersonation": true,
"user": {
"avatarUrl": "<string>",
"username": "<string>",
"name": "<string>",
"email": "<string>",
"bio": "<string>",
"metadata": {
"key": "value"
}
}
}
}
Headers
For non-platform customers - value must be Bearer <token>
where <token>
is api key prefixed with cal_
For platform customers - OAuth client secret key
For platform customers - OAuth client ID
Response
200 - application/json
Available options:
success
, error
Example:
"success"
Available options:
MEMBER
, OWNER
, ADMIN
Was this page helpful?
curl --request DELETE \
--url https://api.cal.com/v2/organizations/{orgId}/teams/{teamId}/memberships/{membershipId}
{
"status": "success",
"data": {
"id": 123,
"userId": 123,
"teamId": 123,
"accepted": true,
"role": "MEMBER",
"disableImpersonation": true,
"user": {
"avatarUrl": "<string>",
"username": "<string>",
"name": "<string>",
"email": "<string>",
"bio": "<string>",
"metadata": {
"key": "value"
}
}
}
}