{{baseUrl}}/pec/:id
DELETE {{baseUrl}}/pec/:id
This method allows you to revoke the specific certified e-mail address related to the id
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"data": {
"casella_pec": "yourpec@testcert.legalmail.it",
"tipo_casella": "BRONZE",
"tipo_cliente": "PV",
"sottotipo_cliente": "",
"sottotipo_cliente_altro": "",
"nome_richiedente": "mario",
"cognome_richiedente": "rossi",
"email": "mail@domain.com",
"telefono": "0548798569",
"codice_fiscale_richiedente": "RSSXXXXXXXX56E",
"data_nascita_richiedente": "11/04/1982",
"sesso_richiedente": "M",
"nazione_nascita_richiedente": "IT",
"provincia_nascita_richiedente": "RM",
"denominazione_titolare": "",
"cf_piva_titolare": "",
"indirizzo_titolare": "via verdi 20",
"comune_titolare": "roma",
"cap_titolare": "00042",
"nazione_titolare": "IT",
"provincia_titolare": "rm",
"callback": {
"url": "https://your_domain.it/your_callback.php",
"field": "data",
"method": "POST",
"data": {}
},
"dominio": "testcert.legalmail.it",
"owner": "mail@domain.com",
"timestamp": {
"registrazione": 1614865504,
"ultima_modifica": 1614868403,
"evasione": 1614868312,
"scadenza": 1646391493,
"revoca": 1614868400
},
"cellulare": "",
"comune_nascita_richiedente": "",
"cod_attivazione": "10173956",
"uid": "MA177987",
"conservazione": true,
"data_scadenza": "04/03/2022",
"descrizione": "yourpec@testcert.legalmail.it",
"sms": true,
"spazio_conservazione": 512,
"spazio_disco": 3072,
"spazio_storico": 3072,
"stato": "revocata",
"storico": true,
"documenti_attivazione": [
"6040e4613a716838dc4eee0e_0_attivazione.pdf",
"6040e4613a716838dc4eee0e_1_attivazione.pdf"
],
"data_attivazione": "04/03/2021",
"documenti_conservazione": [
"6040e4613a716838dc4eee0e_0_conservazione.pdf",
"6040e4613a716838dc4eee0e_1_conservazione.pdf"
],
"multiutenza": [
{
"nome": "luca",
"cognome": "bianchi",
"descrizione": "prima utenza",
"email_gestione_password": "mail@domain.com",
"id_utenza": "6040e4613a716838dc4eee0e_0",
"timestamp": {
"attivazione": 1614868138
},
"userid": "MA177993"
}
],
"id": "6040e4613a716838dc4eee0e",
"autorinnovo": false
},
"success": true,
"message": "",
"error": null
} |
ENDPOINTS