API 参考租户管理
创建组织邀请
POST
/api/v1/organizations/{organization_id}/invitations认证与授权Bearer <token>
工作空间 API 密钥(a13n_...)
传递位置: header
路径参数
organization_id*Organization Id
请求体
application/json
TypeScript 类型定义
在 TypeScript 中使用 request body 类型。
响应体
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/organizations/string/invitations" \ -H "Content-Type: application/json" \ -d '{ "email": "[email protected]", "role": "string" }'{ "delivery": "queued", "invitation": { "accepted_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "email": "string", "expires_at": "2019-08-24T14:15:22Z", "id": "string", "invited_by_id": "string", "organization_id": "string", "principal_id": "string", "revoked_at": "2019-08-24T14:15:22Z", "role": "string", "updated_at": "2019-08-24T14:15:22Z", "version": 0, "workspace_id": "string" }, "invitation_url": "string"}