Create AI service account
POST
/ai/admin/service-accountsContract
Parameter | Value |
|---|---|
| Section | ai-admin |
| Authentication | CookieAuth |
| Consumes | application/json |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| request | body | yes | object | Service account to create: name (required), ownerUserId, allowedProducts[], allowedAgents[], allowedPlugins[], allowedNetworks[], expiresAt |
{}
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Successful response | object |
400 | Invalid request body or missing name | object |
401 | Unauthorized | object |
500 | Internal server error | object |
{ "cursor": { "count": 0, "currentPage": 0, "totalPages": 0, "totalRows": 0 }, "data": {} }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }