Activate Central Logging for a Contract
Request
curl --request PUT \
--url 'https://logging.<region>.ionos.com/central' \
--header 'Authorization: Bearer $IONOS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"properties": {
"enabled": true
}
}'curl --request PUT \
--url 'https://logging.<region>.ionos.com/central' \
--header 'Authorization: Bearer $IONOS_TOKEN' \
--header 'Content-Type: application/json' \
--data '{
"properties": {
"enabled": false
}
}'Response
{
"id": "23e6183d-6ab3-54de-b165-9b44c3589f4f",
"type": "centrallogging",
"href": "/central/23e6183d-6ab3-54de-b165-9b44c3589f4f",
"metadata": {
"createdDate": "2026-02-10T13:37:50+01:00",
"createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedDate": "2026-02-11T13:37:50+01:00",
"lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
"resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
"grafanaEndpoint": "https://grafana.logging.de-txl.ionos.com",
"products": [
"postgresql"
]
},
"properties": {
"enabled": true
}
}Last updated
Was this helpful?