cURL
curl --request DELETE \ --url http://localhost:8000/v2/workspaces/{workspace_id}/sessions/{session_id}/peers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '[ "<string>" ]'
{ "id": "<string>", "is_active": true, "workspace_id": "<string>", "created_at": "2023-11-07T05:31:56Z", "metadata": {}, "configuration": {} }
Remove peers from a session
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace
ID of the session
Successful Response