Data retention

Update project data retention

Updates project data retention controls.

post/organization/projects/{project_id}/data_retention

Path parameters

project_idstring required

The ID of the project to update.

Request body

retention_type'organization_default' | 'none' | 'zero_data_retention' | 'modified_abuse_monitoring' | 'enhanced_zero_data_retention' | 'enhanced_modified_abuse_monitoring' required

The desired project data retention type.

Response

Project data retention controls updated successfully.

object'project.data_retention' required

The object type, which is always project.data_retention.

type'organization_default' | 'none' | 'zero_data_retention' | 'modified_abuse_monitoring' | 'enhanced_zero_data_retention' | 'enhanced_modified_abuse_monitoring' required

The configured project data retention type.

Changes

Changed in 2 of the 163 revisions of this API.4

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      endpoint added

      endpoint-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog