Ciele
Wissen

Flip Direct access for one assistant on a file Source

PUT/api/v1/sources/{id}/direct-access

Erfordert einen API-Schlüssel der Organisation mit der Berechtigung „edit“.

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/api/v1/sources/string/direct-access" \  -H "Content-Type: application/json" \  -d '{    "assistantId": "string",    "directAccess": true  }'
{  "links": [    {      "assistantId": "string",      "assistantName": "string",      "directAccess": true    }  ]}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}
{  "error": {    "code": "string",    "message": "string"  }}