Manage Service: Delete

Descrizione

Questa API ti permette di eliminare definitivamente un servizio. Per funzionare correttamente richiede l'inserimento del service_id come path parameter.

Devi usare la nuova chiave manage per la gestione dei servizi.

Per utilizzare questa API è necessario richiedere un'abilitazione specifica.

Delete service

Delete a service by ID

DELETEhttps://api.io.pagopa.it/api/v1/manage/services/{serviceId}
Authorization
Path parameters
serviceId*string

ID of the service

Response

Service deleted successfully

Request
const response = await fetch('https://api.io.pagopa.it/api/v1/manage/services/{serviceId}', {
    method: 'DELETE',
    headers: {},
});
const data = await response.json();
Response
{
  "type": "https://example.com/problem/constraint-violation",
  "title": "text",
  "status": 200,
  "detail": "There was an error processing the request",
  "instance": "https://example.com"
}

Risorse utili

https://developer.io.italia.it/openapi.html#operation/cmsDeleteService