Metoda este destinată ștergerii unui abonat existent în proiect. Datele se transmit în formatul application/json.
Cerere HTTP
- URL:
https://sender-solutions.com/api/subscribers/delete-subscriber/ - Metodă HTTP: POST
- Content-Type:
application/json
Corpul cererii (JSON)
{
"Subscriber": {
"Id": 23
}
} Exemplu de cerere cu folosirea cURL
curl --location 'https://sender-solutions.com/api/subscribers/delete-subscriber/' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{api-token}}' \
--data-raw '{
"Subscriber": {
"Id": 23
}
}'
Descrierea câmpurilor
| Câmp | Tip | Obligatoriu | Descriere |
|---|---|---|---|
Subscriber.Id | number | Identificatorul abonatului |
Exemplu de răspuns reușit
{
"success": true
}