curl --request DELETE \
--url https://api.anchorbrowser.io/v1/batch-sessions/{batch_id} \
--header 'anchor-api-key: <api-key>'{
"data": {
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deleted_sessions": 123,
"failed_deletions": 123,
"errors": [
{
"session_id": "<string>",
"error": "<string>"
}
],
"message": "<string>"
}
}Deletes all sessions in a batch. Running sessions will be terminated and all session data will be removed.
curl --request DELETE \
--url https://api.anchorbrowser.io/v1/batch-sessions/{batch_id} \
--header 'anchor-api-key: <api-key>'{
"data": {
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"deleted_sessions": 123,
"failed_deletions": 123,
"errors": [
{
"session_id": "<string>",
"error": "<string>"
}
],
"message": "<string>"
}
}Was this page helpful?