a13nDocs
API 参考租户管理

创建服务账号

POST/api/v1/workspaces/{workspace_id}/service-accounts

认证与授权

认证与授权Bearer <token>

工作空间 API 密钥(a13n_...)

传递位置: header

路径参数

workspace_id*Workspace Id

请求体

application/json

TypeScript 类型定义

在 TypeScript 中使用 request body 类型。

响应体

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/workspaces/string/service-accounts" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "created_at": "2019-08-24T14:15:22Z",  "description": "string",  "id": "string",  "name": "string",  "organization_id": "string",  "role": "string",  "status": "active",  "updated_at": "2019-08-24T14:15:22Z",  "version": 0,  "workspace_id": "string"}