Update the post delivery audit logging configuration
PUT/api/v4/delivery_tracking/config
Updates the post delivery audit logging configuration.
ChannelIds fully replaces the stored list. Omit the field to leave the stored list unchanged; send an empty
array to clear it. An empty array is only accepted when the resulting configuration is still valid, which means
EnableForAllChannels must be true. Turning Enable off does not clear the list.
Direct and group message channels can never be recorded. The request is rejected in full if any submitted channel is a DM or GM, or does not exist.
Requires an Enterprise Advanced license and the PostDeliveryTracking feature flag. Only system admins can
access this endpoint.
Request
Responses
- 200
- 400
- 403
- 404
- 500
- 501
Configuration updated successfully
Bad request. Returned when EnableForAllChannels is false and no channels are selected, when a channel id
is malformed, when a submitted channel does not exist, or when a submitted channel is a DM or GM.
User does not have permission to manage system configuration.
The endpoint is not registered because the PostDeliveryTracking feature flag was disabled at server start. Enabling the flag requires a server restart.
Internal server error.
An Enterprise Advanced license is not available, or the PostDeliveryTracking feature flag was disabled after the server started.