Skip to main content
DELETE
/
browser
/
{sessionId}
Delete a browser session
curl --request DELETE \
  --url https://api.firecrawl.dev/v2/browser/{sessionId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "sessionDurationMs": 123,
  "creditsBilled": 123
}

Headers

HeaderValue
AuthorizationBearer <API_KEY>
Content-Typeapplication/json

Request Body

ParameterTypeRequiredDescription
idstringYesThe session ID to destroy

Response

FieldTypeDescription
successbooleanWhether the session was successfully destroyed

Example Request

curl -X DELETE "https://api.firecrawl.dev/v2/browser" \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "id": "550e8400-e29b-41d4-a716-446655440000"
  }'

Example Response

{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sessionId
string
required

The browser session ID

Response

Browser session deleted successfully

success
boolean
sessionDurationMs
integer

Total session duration in milliseconds

creditsBilled
number

Number of credits billed for the session