members

Remove a member from the organization.

Removes the member. The WorkOS organization membership is deleted first (so the user is not re-provisioned by JIT on next login), then the local membership. Guards: you cannot remove yourself; the last owner cannot be removed (409).

delete/v1/orgs/{orgId}/members/{userId}

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/v1/orgs/{orgId}/members/{userId}
  • Auth: one of:
    • API key in cookie dvt_session
    • HTTP bearer

Response

Member removed.

Changes

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