v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
policiesManagement

Set Data Deletion policy.

Set the Data Deletion policy. This policy specifies whether users are allowed to delete data from Sumo Logic. Disabling this policy prevents users from deleting log data. Learn More

put/v1/policies/dataDeletion

Request body

enabledboolean required

Whether the Data Deletion policy is enabled.

Example request

{
  "enabled": true
}

Response

Data Deletion policy was set successfully.

enabledboolean required

Whether the Data Deletion policy is enabled.

Example response

{
  "enabled": true
}