---
title: "Test"
method: POST
path: "/api/v1/policies/test-account-provision-policy"
tags: ["Policy"]
---

# Test

`POST /api/v1/policies/test-account-provision-policy`

Test an account provision policy by evaluating a CEL expression and returning the computed result.

## Request body

- C1ApiPolicyV1TestAccountProvisionPolicyRequest — TestAccountProvisionPolicyRequest is the request for testing an account provision policy.
  - `cel` string — The CEL expression to evaluate for the account provision policy.

## Response `200`

TestAccountProvisionPolicyResponse is the response for testing an account provision policy.

- C1ApiPolicyV1TestAccountProvisionPolicyResponse — TestAccountProvisionPolicyResponse is the response for testing an account provision policy.
  - `type` string — The data type of the computed result value.
  - `value` string — The computed result value of the CEL expression evaluation.

---

[API](https://skmtc.net/conductorone/apis/c1-api.md) · [All operations](https://skmtc.net/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/f2cf3228f366/schema)
