Logo
Openapi.it Public API Documentation

{{baseUrl}}/account/:id

DELETE {{baseUrl}}/account/:id

This method allows you to revoke the specific legal invoice account related to the id

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "data": { "cf_piva_titolare": "12485671007", "denominazione_titolare": "openapi srl", "comune_titolare": "roma", "indirizzo_titolare": "via filippo marinetti 221", "cap_titolare": "00143", "provincia_titolare": "rm", "email": "info@openapi.it", "nome_richiedente": "Mario", "cognome_richiedente": "Rossi", "sesso_richiedente": "M", "cf_richiedente": "MRXXXXXXXXXXXF", "documento_identita": "d64681184e3637335b606acdfa79b927.pdf", "modulo_attivazione": "75a9580aeb9a97d050cd00118bceb7f8.pdf", "callback": { "url": "https://mysite.it/callback.php", "field": "data", "method": "POST", "data": {} }, "data_nascita_richiedente": null, "telefono": null, "cellulare": null, "stato": "revocato", "tipo_account": "forfettario", "username": "username@url.it", "password": "iujedwhn324234", "fatture": 50, "fatture_extra": 0, "ragioni_sociali_extra": 0, "timestamp_creazione": 1655807719, "timestamp_ultima_modifica": 1655816051, "timestamp_scadenza": 1939728960, "owner": "gcloud-tests@openapi.it", "autorinnovo": false, "id": "62b19eea2f7b5264ce34ac29" }, "success": true, "message": "", "error": null }



Curl
curl -X DELETE 'baseUrl/account/:id' -H 'Accept: application/json'

ENDPOINTS