DELETE /api/v3/class/actions/DeleteAllEnvironments

Deletes all active student environments in a class

Request Path

DELETE /api/v3/class/actions/deleteallenvironments

Request Payload

{
  "id": "COTQBKbIH5V2br3eiEdxW9-g2"
}

Parameters

id The ID of the class. To retrieve class IDs, use GET /api/v3/class

Response Example

[
  {
    "failed": []
    "succeed": [
      {
        "id": "SDzRF7MCfoRen3E85bBw434w2"
        "email": "student_001@cloudshare.com"
        "fullName": "Jhon TEst"
        "envId": "ENP7W-zJMCOlAoiTzT5nMRuQ2"
      }
    ]
  }
]