# Reject an entity

Rejects an entity in the review state. A reason for the rejection must be provided. Requires the Reject permission.

Endpoint: POST /api/entities/{id}/lifecycle/reject
Version: v2.0
Security: OAuth2

## Security:

  - `OAuth2` (unknown)
    oauth2

## Path parameters:

  - `id` (integer, required)
    The unique identifier for the entity.

## Request body:

  - `application/json-patch+json, application/json, text/json, application/*+json` (unknown)
    The reject request containing the reason for the rejection.

## Request fields (application/json-patch+json):

  - `reason` (string)
    The reason for the rejection.

## Response 200:

  - `200` (unknown)
    Entity rejected successfully

## Response 400:

  - `400` (unknown)
    Request not valid

## Response 401:

  - `401` (unknown)
    Unauthorized request

## Response 403:

  - `403` (unknown)
    Insufficient permission

## Response 404:

  - `404` (unknown)
    Entity not found or user not authorized

