# Apply Organization Policies On Inventory

After initiating this call, the process will be performed asynchronously in the background. To check the status of the process and retrieve the final outcome, use the "Get Async Process Status" request.

Endpoint: POST /api/v2.0/orgs/{orgToken}/policies/apply
Version: 2.0
Security: bearer-key

## Security:

  - `bearer-key` (unknown)
    http bearer JWT

## Path parameters:

  - `orgToken` (string, required)
    org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: **Integrate** tab > **API Key**).

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `supportToken` (string)
    Example: 1171c60d

  - `retVal` (object)

  - `retVal.contextUuid` (string)
    Example: caf69794-9882-4b55-82db-6b6da4fe2a26

  - `retVal.uuid` (string)
    Example: caf69794-9882-4b55-82db-6b6da4fe2a92

  - `retVal.status` (string)
    Enum: "PENDING", "IN_PROGRESS", "FAILED", "FAILURE", "SUCCESS"

  - `retVal.contextType` (string)
    Enum: "SYSTEM", "GLOBAL_ACCOUNT", "DOMAIN", "PRODUCT", "PROJECT", "SCAN", "UNSUPPORTED_TYPE"

  - `retVal.created` (string)

  - `retVal.modified` (string)

  - `retVal.processType` (string)
    Example: APPLY_POLICIES

  - `retVal.messageContentSha1` (string)
    Example: fb4016165697cc32d0b90ccc82e3c2c846eb01b7

  - `retVal.requestToken` (string)
    Example: 2cd6a43b

  - `retVal.userEmail` (string)
    Example: sample@mail.com

## Response 400:

  - `400` (unknown)
    Bad Request

## Response 400 fields (*/*):

  - `supportToken` (string)
    Example: 1171c60d

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (*/*):

  - `supportToken` (string)
    Example: 1171c60d

