---
title: "Create benchmark assignment"
method: POST
path: "/compliance/api/v3/benchmark/{benchmark_id}/assign"
tags: ["benchmarks_assignment"]
---

# Create benchmark assignment

`POST /compliance/api/v3/benchmark/{benchmark_id}/assign`

## Request

- Base URL: `https://api.opengovernance.io`
- URL: `https://api.opengovernance.io/compliance/api/v3/benchmark/{benchmark_id}/assign`
- Auth: API key in header `Authorization`

Creating a benchmark assignment for an integration.

## Path parameters

- `benchmark_id` string, required

## Request body

- GithubComOpengovernOpengovernancePkgComplianceApiIntegrationFilterRequest
  - `autoEnable` boolean
  - `disable` boolean
  - `integration` GithubComOpengovernOpengovernancePkgComplianceApiIntegrationFilter[]
    - `integration_id` string
    - `integration_type` string
    - `name` string
    - `provider_id` string

## Response `200`

OK

---

[API](https://skmtc.dev/opengovern/apis/opengovernance-service-api.md) - [All operations](https://skmtc.dev/opengovern/apis/opengovernance-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opengovern/apis/opengovernance-service-api/revisions/ab05295c4094?raw)
