Org Hierarchy

Update a department

Updates a department's name and/or description. Requires org role ADMIN.

patch/api/v1/orgs/{slug}/departments/{deptSlug}

Request

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

Path parameters

slugstring required
deptSlugstring 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
memberCountinteger
skillCountinteger
myRole'ADMIN' | 'MEMBER' | 'null' nullable
teamsobject[]
createdAtstring date-time

Changes

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