Manage Service: Unpublish

Descrizione

Questa API che permette di nascondere un servizio approvato e attivato. 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.

Unpublish service from IO

Unpublish service by ID from IO Platform

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

ID of the service

Response

Service unpublished successfully

Request
const response = await fetch('https://api.io.pagopa.it/api/v1/manage/services/{serviceId}/release', {
    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/cmsUnpublishService