Questa API aggiorna le informazioni relative ad un servizio. Per funzionare correttamente richiede l'inserimento del service_id
come path parameter.
### REQUEST
curl --location --request PUT 'https://api.io.pagopa.it/api/v1/services/SERVICE_ID' \
--header 'Ocp-Apim-Subscription-Key: __YOUR_API_KEY__' \
--header 'Content-Type: application/json' \
--data-raw '{
"service_name": "Test",
"department_name": "IT",
"organization_name": "Test",
"organization_fiscal_code": "00000000001",
"authorized_cidrs": [],
"is_visible": false,
"service_metadata": {
"scope": "LOCAL"
}
}'
### RESPONSE
{
"authorized_cidrs": [],
"authorized_recipients": ["AAAAAA00A00A000A"],
"department_name": "IT",
"id": "SERVICE_ID-0000000000000001",
"is_visible": false,
"max_allowed_payment_amount": 0,
"organization_fiscal_code": "00000000001",
"organization_name": "Test",
"require_secure_channels": false,
"service_id": "SERVICE_ID",
"service_metadata": { "scope": "LOCAL" },
"service_name": "Test",
"version": 1,
"primary_key": "__YOUR_PRIMARY_API_KEY__",
"secondary_key": "__YOUR_SECONDARY_API_KEY__"
}