Flag a post
POST/api/v4/content_flagging/post/:post_id/flag
Flags a post with a reason and a comment. The user must have access to the channel to which the post belongs to. An enterprise advanced license is required.
Request
Responses
- 200
- 400
- 403
- 404
- 500
- 501
Post flagged successfully
Bad request - Invalid input data or missing required fields.
Forbidden - User does not have permission to flag this post.
Post not found or feature is disabled via the feature flag.
Internal server error.
Feature is disabled either via config or an Enterprise Advanced license is not available.