# Execute Action on Release

Executes an action on a release (e.g., abort)

Endpoint: POST /rmg/api/release/{releaseId}/action
Version: 1.0
Security: x-api-key

## Path parameters:

  - `releaseId` (string, required)
    Unique identifier for the release

## Header parameters:

  - `Harness-Account` (string, required)
    Account Identifier

## Query parameters:

  - `orgIdentifier` (string)
    Organisation Identifier

  - `projectIdentifier` (string)
    Project Identifier

## Request fields (application/json):

  - `action` (string, required)
    Action to perform on the release
    Enum: "Abort"

  - `message` (string, required)
    Message explaining the reason for the action (e.g., why the release is being aborted)
    Example: "Production issue detected - rolling back due to memory leak"

## Response 200 fields (application/json):

  - `id` (string, required)
    ID of the release

  - `status` (string, required)
    New status of the release

  - `interruptedExecutionId` (string)
    ID of the execution that was interrupted

## Response 400 fields (application/json):

  - `message` (string, required)
    error message detail

  - `code` (string)
    canonical error code name
    Enum: "BAD_REQUEST", "UNAUTHORIZED", "FORBIDDEN", "NOT_FOUND", "INTERNAL_SERVER_ERROR"


