Call

Delete calls in batch

Changed on

Deletes up to 100 calls by ID in one request. Each deleted call, its metrics and its analysis are hidden from every read, and any analysis still running on it is cancelled. IDs that do not exist in this project, or were already deleted, are returned in notFoundCallIds and left untouched. The request succeeds even when none of the calls are found. IDs are returned lowercase, each once.

post/v1/call/batch-delete

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/call/batch-delete
  • Auth
    HTTP bearer

Request body

callIdsstring[] required

IDs of the calls to delete, at most 100. Repeated IDs are counted once.

Example request

{
  "callIds": [
    "550e8400-e29b-41d4-a716-446655440000",
    "660e8400-e29b-41d4-a716-446655440001"
  ]
}

Response

The calls that were deleted and the ones that were not found

Example response

{
  "data": {
    "deletedCallIds": [
      "550e8400-e29b-41d4-a716-446655440000"
    ],
    "notFoundCallIds": [
      "660e8400-e29b-41d4-a716-446655440001"
    ]
  }
}

Changes