Atlas
Admin — Data Residency

Cancel a pending migration

Cancels a migration that is still in 'pending' status. In-progress migrations cannot be cancelled.

POST
/api/v1/admin/residency/migrate/{id}/cancel

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:3001/api/v1/admin/residency/migrate/string/cancel"
{
  "cancelled": true
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
Edit on GitHub

Last updated on