Skip to main content
POST
https://agent.usedari.com
/
profiles
/
{org_id}
/
{profile_id}
/
close
curl -X POST "https://agent.usedari.com/profiles/my-org/550e8400-e29b-41d4-a716-446655440000/close?session_id=sess_xyz789" \
  -H "X-API-Key: YOUR_API_KEY"
Closes the live browser session for a profile, saving cookies and session state.

Path Parameters

org_id
string
required
Organization ID
profile_id
string
required
UUID of the profile

Query Parameters

session_id
string
required
Session ID returned from profile creation

Headers

X-API-Key
string
required
Organization API key
curl -X POST "https://agent.usedari.com/profiles/my-org/550e8400-e29b-41d4-a716-446655440000/close?session_id=sess_xyz789" \
  -H "X-API-Key: YOUR_API_KEY"