# Publish an entity directly

Publishes an entity with the created state directly, without going through the approval process. Requires the DirectPublish permission.

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

## Security:

  - `OAuth2` (unknown)
    oauth2

## Path parameters:

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

## Response 200:

  - `200` (unknown)
    Entity published 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

