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

  • Base URL
    https://api.au.sumologic.com/api
  • URL
    https://api.au.sumologic.com/api/v1/policies/dataDeletion
  • Auth
    HTTP basic

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
}

Changes

No recorded changes to this operation across all 15 revisions of this API.