跳到主要内容

Team API

Team-member management — invite, revoke, change roles.

Endpoints

MethodPathDescription
GET`/api/v1/team/members`List
POST`/api/v1/team/invite`Invite an email
GET`/api/v1/team/invites`Pending invites
POST`/api/v1/team/invites/:id/resend`Resend
DELETE`/api/v1/team/invites/:id`Revoke invite
PUT`/api/v1/team/members/:id/role`Change role
DELETE`/api/v1/team/members/:id`Remove member
POST`/api/v1/team/invite/accept`Public accept (token-auth)

Roles

OWNER / ADMIN / MANAGER / MEMBER / VIEWER.

Every response uses the standard envelope:

{
  "success": true,
  "data": { /* resource or array */ },
  "meta": { "total": 100, "cursor": "...", "hasMore": true },
  "error": { "code": "ERROR_CODE", "message": "Human readable" }
}

error is omitted on success; meta is omitted when not paginating.

Rate Limits

Subject to the standard 200 req/min/tenant authenticated limit. See [Rate Limits](/docs/api-reference/rate-limits) for full details and the per-endpoint overrides.