actions

Get an organization Actions policy

Changed on

Get a specific Actions policy for an organization.

get/orgs/{org}/actions/policies/{policy_id}

Request

Path parameters

orgstring required

The organization name. The name is not case sensitive.

policy_idinteger required

The ID of the policy.

Response

Response

idinteger required

The ID of the policy

namestring required

The name of the policy

target'actions' required

The target of the policy

source_type'Repository' | 'Organization' | 'Enterprise' required

The type of the source of the policy

sourcestring required

The name of the source

enforcement'disabled' | 'active' | 'evaluate' required

The enforcement level of the ruleset. evaluate allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (evaluate is only available with GitHub Enterprise).

node_idstring
created_atstring date-time
updated_atstring date-time

Changes