platform_features
approval_policies

post/api/projects/{project_id}/approval_policies/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/approval_policies/
  • 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

idstring uuid required
action_keystring required
conditionsunknown
approver_configunknown required
allow_self_approveboolean
bypass_org_membership_levelsunknown
bypass_rolesstring[]
expires_afterstring

Auto-expire change requests after this duration

enabledboolean
created_atstring date-time required
updated_atstring date-time nullable required

Response

idstring uuid required
action_keystring required
conditionsunknown
approver_configunknown required
allow_self_approveboolean
bypass_org_membership_levelsunknown
bypass_rolesstring[]
expires_afterstring

Auto-expire change requests after this duration

enabledboolean
created_atstring date-time required
updated_atstring date-time nullable required

Changes

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