Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods admin.conversations.removeCustomRetention.json
Raw

priv/docs/methods/admin.conversations.removeCustomRetention.json

{
"args": {
"channel_id": {
"desc": "The conversation to set the retention policy for.",
"example": "C12345678",
"required": true,
"type": "string"
}
},
"desc": "This API endpoint can be used by any admin to remove a conversation's retention policy.",
"errors": {
"channel_not_found": "Value given for `channel_id` was invalid.",
"channel_type_not_supported": "Value given for `channel_id` was a #general channel.",
"could_not_remove_retention": "The retention policy could not be removed.",
"default_org_wide_channel": "The channel given is a default org-wide channel.",
"feature_not_enabled": "The Admin APIs feature is not enabled for this team.",
"not_an_admin": "The token provided is not associated with an admin.",
"restricted_action": "A team preference prevents the authenticated user from modifying the retention policy of this channel.",
"retention_override_not_allowed": "The current retention policy disallows modifying the retention policy of this channel."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.conversations:write",
"url": "https://docs.slack.dev/reference/scopes/admin.conversations.write"
}
]
}
}