review_hog

Add a person to a project rule list

Add a project member to the project rule's 'listed' or 'excepted' list. Project admins only.

post/api/projects/{project_id}/review_hog/project_settings/people/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/review_hog/project_settings/people/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Request body

user_idinteger required

Id of the project member to add. Must be an active member.

kind'listed' | 'excepted' required
  • listed - Listed
  • excepted - Excepted

Response

Already on that list.

flash_for'everyone' | 'listed' | 'off'
  • everyone - Automatic Flash for everyone
  • listed - Automatic Flash for these people
  • off - Automatic Flash opt-in only
bot_prs'skip' | 'run'
  • skip - Not reviewed
  • run - Automatic Flash
urgency_threshold'consider' | 'should_fix' | 'must_fix'
  • consider - Consider (all)
  • should_fix - Should fix
  • must_fix - Must fix
celebrate_clean_reviewsboolean

Project default for the image in a Deep review that finds nothing to raise. On by default. A person's own value wins.

can_editboolean required

Whether the requesting user is a project admin and can change these settings.

Changes

No recorded changes to this operation across all 1 revision of this API.