Organizations

Update organization settings

Updates the organization's name, description, and/or avatarUrl. Requires the ADMIN org role. The change is recorded in the org audit log.

patch/api/v1/orgs/{slug}

Request

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

Path parameters

slugstring required

Response

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

idstring
slugstring
namestring
descriptionstring nullable
avatarUrlstring nullable
githubOrgstring nullable
memberCountinteger
skillCountinteger
totalInstallsinteger
currentUserRole'ADMIN' | 'PUBLISHER' | 'MEMBER' | 'null' nullable
tier'free' | 'team' | 'business' | 'enterprise'
policyMode'OPEN' | 'ALLOWLIST' | 'BLOCKLIST'
createdAtstring date-time
updatedAtstring date-time

Changes

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