> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nx1cloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Approve or reject a version

> Approve a submitted version to make it ready to publish, or reject it with a note.

You approve or reject a version that someone submitted. You can publish an approved version, but a
rejected version goes back to draft with your note.

You can't approve a version you wrote or submitted, because approval needs a second person.
The exception is users with the [`nx1_decisions_admin`](https://docs.nx1cloud.com/documentation/govern/tasks/iam/role/assign-a-role) role, who can approve any version.

## Prerequisites

Before starting this task, ensure you have the following:

* Required roles: [`approver` in a workspace](https://docs.nx1cloud.com/documentation/data/overview/business-rules#roles-and-permissions)
  or [`nx1_decisions_admin`](https://docs.nx1cloud.com/documentation/govern/tasks/iam/role/assign-a-role)
* A [submitted version](https://docs.nx1cloud.com/documentation/data/tasks/business-rules/versions/submit-a-version-for-approval.md)

## Steps

> [tab] Web portal
>
> Perform these steps to approve or reject a version:
>
> 1. Log in to NexusOne.
> 2. On the top navigation bar, hover your mouse over **Data** and then select **Business Rules**.
> 3. Click **Approvals**. The page lists the versions waiting on you.
> 4. In the **Business rules** table, click **Review** next to a version.
> 5. Optional: If the rule has an earlier version, then click **Compare** in the **Actions** column to see what changed.
> 6. In the **Versions** tab, find the submitted version. In the **Actions** column at the right end of its row, click **Approve** or **Reject**.
> 7. In the **Note** field, add a note. If you're rejecting a version, then say why, so the person who wrote
>    the version knows what to fix.
> 8. Click **Approve this version** or **Reject this version**.
>
> If you wrote or submitted a version, then it shows **Needs a second person** and no buttons.
> This doesn't apply to users with the `nx1_decisions_admin` role.

> [tab] REST API
>
> Use the following API endpoints to approve or reject a version:
>
> * [Approve a submitted version](https://docs.nx1cloud.com/api-reference/endpoints/decisions/approve-a-submitted-version.md)
> * [Diff two versions structurally](https://docs.nx1cloud.com/api-reference/endpoints/decisions/diff-two-versions-structurally.md)
> * [List versions awaiting your approval](https://docs.nx1cloud.com/api-reference/endpoints/decisions/list-versions-awaiting-your-approval.md)
> * [Reject a submitted version](https://docs.nx1cloud.com/api-reference/endpoints/decisions/reject-a-submitted-version.md)

## Additional resources

To compare a version with an earlier one, refer to [Compare two versions](https://docs.nx1cloud.com/documentation/data/tasks/business-rules/versions/compare-two-versions.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.