Retrieve information subscription deletion
GET
/deletions/{id}
Retrieve information about a deletion by querying the ID sent in a deletion request
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
number format: integer
Example
25Responses
Section titled “ Responses ”The object was successfully deleted
object
deletion_id
required
number format: integer
status
required
string
message
string
Examples
{ "deletion_id": 25, "status": "SUCCESS", "message": "Subscription deleted successfully"}{ "deletion_id": 25, "status": "PENDING", "message": "Deletion is pending"}{ "deletion_id": 25, "status": "FAILURE", "message": "The deletion process encountered an error and was rolled backwas rolled back"}object
deletion_id
required
number format: integer
status
required
string
message
string
Examples
{ "deletion_id": 25, "status": "SUCCESS", "message": "Subscription deleted successfully"}{ "deletion_id": 25, "status": "PENDING", "message": "Deletion is pending"}{ "deletion_id": 25, "status": "FAILURE", "message": "The deletion process encountered an error and was rolled back"}Unauthorized
object
code
required
string
message
required
string
Example
{ "code": 401, "message": "User not authorized"}object
code
required
string
message
required
string
Example
{ "code": 401, "message": "User not authorized"}Not found
object
code
required
string
message
required
string
Example
{ "code": 404, "message": "Resource not found"}object
code
required
string
message
required
string
Example
{ "code": 404, "message": "Resource not found"}Validation exception
object
code
required
string
message
required
string
Example
{ "code": 405, "message": "Input could not be validated"}object
code
required
string
message
required
string
Example
{ "code": 405, "message": "Input could not be validated"}