Saltar al contenido principal

/plan/{plan_id}/suspension

Eliminación de una suspensión

(DELETE /plan/<plan_id>/suspension)

Elimina una suspensión.

Cuerpo de la petición

  • suspension_id(string, required): Identificador de la suspensión d5088ff11cf9f6e50ccdff81ea5478fb1f09d439983f99f0b1e2d11f

Ejemplo eliminación de una suspension

{
"key": "{{api-key}}",
"resource": "{{resource-key}}",
"nonce": "1234567890",
"mode": "sha256",
"payload": {
"suspension_id": "{{suspension_id}}"
}
}

Respuesta - success

{
"code": "0",
"description": "suspension has been deleted",
"payload": {
"resumed_at": "2017-11-09",
"suspended_at": "2017-09-09",
"deleted_at": "2017-09-06",
"_id": "74308b7f5435952a6ce76ecfca775ac582a943a7a88dabd2a990dda2e1407160"
},
"uuid": "5bb1c797-5afa-4d83-8976-5d24d145c243",
"detail": "suspension_deleted",
"type": "success",
"request_id": null
}