Turn auto-add on or off for an access control policy
GET/api/v4/access_control_policies/:policy_id/activate
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Turns auto-add on or off for one access control policy. From
Mattermost v12.0, active=true sets auto_add to always on the
policy's membership rule, and active=false turns auto-add off.
Doesn't accept the session cookie; send a token in the
Authorization header.
Deprecated: This endpoint will be removed in a future release. Use PUT /api/v4/access_control_policies/activate instead.
Link: </api/v4/access_control_policies/activate>; rel=“successor-version”
Minimum server version: 10.9
Permissions
Must have the manage_system permission, or, for a channel policy,
manage_channel_access_rules on the channel.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Policy active status updated 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