Hướng dẫn AgentFlow

leave_record_presence

DELETE/entities/{entity_id}/records/{record_id}/presence

The caller stops being a viewer at once rather than 45 seconds after their last heartbeat. Leaving a record the caller is not viewing changes nothing.

AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Path Parameters

entity_id*string

Entity id

Formatuuid
record_id*string

Record id

Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/records/497f6eca-6276-4993-bfeb-53cbbbba6f08/presence"
{  "entity_id": "8161163a-f227-466f-bc01-090a01e80165",  "record_id": "8bf519b6-a3e0-49d2-8e42-039542d9a489",  "viewers": [    "4471219e-63d8-475f-8296-8a28e768618f"  ]}