Delete an access control policy
DELETE/api/v4/access_control_policies/:policy_id
Deletes an access control policy by its ID.
Minimum server version: 10.9
Permissions
Must have the manage_system permission, or one of:
- for a
channelpolicy,manage_channel_access_ruleson the channel (the policy ID). - with
team_id,manage_team_access_ruleson that team, for the team's ownteampolicy or aparentpolicy that belongs to the team (itsscope_idis the team, or all its assigned channels are in the team).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Access control policy deleted successfully.
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions
Resource not found
Something went wrong with the server