API referenceTenancy
Create Service Account
POST
/api/v1/workspaces/{workspace_id}/service-accountsAuthorizationBearer <token>
A workspace API key (a13n_...)
In: header
Path Parameters
workspace_id*Workspace Id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response 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"}