跳转到内容

REST API — Your organisation

此内容尚不支持你的语言。

Method Path What it does
GET /api/companies Companies the caller reaches through their workspaces (operators: all).
POST /api/companies Create a new company in the caller’s own org.
DELETE /api/companies/{company_id} Delete a company by ID — the caller’s own companies only.
GET /api/companies/{company_id} Get company details by ID — the caller’s own companies only.
PATCH /api/companies/{company_id} Update a company by ID — the caller’s own companies only.
GET /api/teams Teams belonging to the caller’s workspaces (operators: all).
POST /api/teams Team create
GET /api/teams/slug/{slug} Get a team by slug — the caller’s own teams only.
DELETE /api/teams/{team_id} Team delete
GET /api/teams/{team_id} Team detail
PATCH /api/teams/{team_id} Team update
POST /api/teams/{team_id}/add_users Add users to a team — the caller’s own teams only.