Org Hierarchy

Create a department

Creates a department in the organization. Requires org role ADMIN. Enforces the per-org department limit and a unique department slug. Records an audit entry.

post/api/v1/orgs/{slug}/departments

Request

  • Base URL: https://api.skills-hub.ai
  • URL: https://api.skills-hub.ai/api/v1/orgs/{slug}/departments
  • 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
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.