ONIOKODeveloper
Sessions

Close a partner session and stop its remote avatar call.

In preparationNot released yet

This operation exists in the platform layer and is verified in CI, but it is not live for partners. The contract can still change before release. Do not build against it yet.

DELETE
/v1/sessions/{session_id}

The call stop is retried safely when the same idempotency key is used; an unconfirmed stop returns 503.

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

session_id*Session Id
Formatuuid

Header Parameters

Idempotency-Key*Idempotency-Key
Match^[A-Za-z0-9._~-]+$
Length16 <= length <= 128

Response Body

Successful response

application/json
  1. response
session_id*Session Id
Formatuuid
status*Status
Example Request
curl -X DELETE 'https://example.com/v1/sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Idempotency-Key: stringstringstri'
Example Response
{  "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",  "status": "closed"}