Org Members & Invites
Change a member's role
Sets a member's org role to MEMBER, PUBLISHER, or ADMIN. Requires the ADMIN org role. Demoting the organization's last remaining admin is rejected. The change is recorded in the org audit log.
patch/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.
Changes
No recorded changes to this operation across all 1 revision of this API.