AgentConnect
Organization knowledge

Edit a person's People entry

Replace one person's entry in People, checked against People's shape; 400 names the line that failed. Organization owners only (403 otherwise). A person who removed their entry stays out until they write it themselves (409). Recorded in the organization's audit log without content.

PUT
/v1/orgs/{orgId}/knowledge/{id}/people/{key}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
id*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
key*string

The entry's identity key, as its heading ends.

Length1 <= length <= 512

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/orgs/string/knowledge/497f6eca-6276-4993-bfeb-53cbbbba6f08/people/string" \  -H "Content-Type: application/json" \  -d '{    "text": "string",    "expectedRevision": 1  }'
{  "revision": 1,  "cleared": true}