Org Members & Invites

Remove a member (or leave)

Removes a member from the organization. Requires the ADMIN org role, unless the caller is removing themselves (leaving the org). Removing the last remaining admin is rejected. Frees a billable seat and is recorded in the audit log as either removed or left.

delete/api/v1/orgs/{slug}/members/{userId}

Request

  • Base URL: https://api.skills-hub.ai
  • URL: https://api.skills-hub.ai/api/v1/orgs/{slug}/members/{userId}
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Path parameters

slugstring required
userIdstring required

Response

Successful response. The returned fields are described in this endpoint's summary/description; typed per-field response schemas are being added incrementally.

successtrue

Changes

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