Skip to main content

Get the number of granular data retention policies

GET 

/api/v4/data_retention/policies_count

Gets the number of granular (i.e. team or channel-specific) data retention policies from the server.

Minimum server version: 5.35

Permissions

Must have the sysconsole_read_compliance_data_retention permission.

License

Requires an E20 license.

Responses

Number of retention policies retrieved successfully.