Tool to create a context restriction in CircleCI. Use when you need to limit context access based on project, expression rules, or group membership.
context_idRequiredstringAn opaque identifier of a context.
restriction_typeRequiredstringType of the restriction. Use 'project' to restrict by project UUID, 'expression' to restrict by expression rule (e.g., branch conditions), or 'group' to restrict by group.
restriction_valueRequiredstringValue used to evaluate the restriction. If the restriction_type is 'project', this will be the project UUID. If the restriction_type is 'expression', this will be the expression rule (e.g., 'pipeline.git.branch == "main"').
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.