Enable or disable a security policy
Toggle the enabled state of a security policy. For organization-level policies, only one can be active at a time.
Authorizations
JWT access token.
Body
New enabled state for the policy
Response
Policy state toggled
Policy ID
"550e8400-e29b-41d4-a716-446655440000"
Policy scope
ORGANIZATION, TEAM, PROJECT "PROJECT"
Organization ID the policy belongs to
"550e8400-e29b-41d4-a716-446655440001"
Policy name
"Production Security Policy"
Priority (lower = higher priority)
10
Policy configuration
Whether the policy is enabled
true
Creation timestamp
"2024-01-15T10:30:00Z"
Last update timestamp
"2024-01-15T10:30:00Z"
Project IDs targeted by this policy (for PROJECT scope)
Team IDs targeted by this policy (for TEAM scope)
Policy description
"Security policy for production environment"
User ID who created the policy
User ID who last updated the policy