Get an organization's authentication policy
/api/v1/organizations/{id}/policyReturns the organization's own authentication policy (null fields inherit the Environment) alongside the effective policy its members sign in under. Requires the hierarchy.view permission at the organization.
Authentication
Bearer Token
Authorization Option A JWT access token
API Key
X-API-Key Option B API key for management-tier access
Path Parameters
idstring Required Responses
application/json
data *OrganizationPolicyResponseDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/api/v1/organizations/value/policy" \ -H "X-API-Key: $CANOPY_API_KEY"
{ "data": { "organization_id": "string", "mfa_required": false, "mfa_factor_allowlist": [ "totp" ], "mfa_after_sso": "exempt", "require_sso": false, "environment": { "mfa_required": false, "mfa_factor_allowlist": [ "totp" ], "mfa_after_sso": "exempt", "require_sso": false }, "effective": { "mfa_required": false, "mfa_factor_allowlist": [ "totp" ], "mfa_after_sso": "exempt", "require_sso": false }, "version": 0 } }
Tell us how we can improve this guide.