Skip to main content
DELETE
Delete a future pod membership
Deletes a membership that has not started and returns {podId, membershipId, deleted: true}. Send the pod’s current membershipRevision from Get pod as expectedMembershipRevision; a stale value returns 409 ending (POD_ROSTER_CHANGED). The credential’s scopes must include workforce:read as well as workforce:manage, because the success returns the membership; otherwise 403 naming workforce:read, and nothing changes. A pod whose managing org unit is a customer organization or sits under one returns 404, exactly as a missing pod. Send an Idempotency-Key to make a retry safe.

Authorizations

Authorization
string
header
required

An External App: the JWT it obtains from POST /oauth/token with OAuth2 client_credentials. Pass as Authorization: Bearer <jwt>. An app's static companion key also authenticates as the app, but is deprecated and is not protected by Idempotency-Key.

Headers

Idempotency-Key
string

Optional logical intent key. A same-key retry within 24 hours returns the recorded result without writing again.

Required string length: 1 - 255

Path Parameters

podId
string
required

The pod's ID.

Minimum string length: 1
membershipId
string
required

The membership's ID (it must belong to podId).

Minimum string length: 1

Body

application/json
expectedMembershipRevision
integer
required

The pod's membershipRevision you last read (GET /api/v2/workforce/getPod).

Required range: x >= 0

Response

Success

data
object
required
meta
object
required