Data retention

Update organization data retention

Changed on

Updates organization data retention controls.

post/organization/data_retention

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/organization/data_retention
  • Auth
    HTTP bearer

Request body

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

The desired organization data retention type.

Response

Organization data retention controls updated successfully.

object'organization.data_retention' required

The object type, which is always organization.data_retention.

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

The configured organization data retention type.

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status