# Apply Project 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/projects/{projectToken}/policies/apply
Version: 2.0
Security: bearer-key

## Path parameters:

  - `projectToken` (string, required)
    project UUID (by running Entities - Product > Get Product Projects) or Project Token (from the Mend SCA App: Integrate tab > Project Token).

## 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 fields (*/*):

  - `supportToken` (string)
    Example: "1171c60d"


