---
title: "Remove Universal Company Restriction"
method: DELETE
path: "/v1/company-restrictions/remove-universal-restriction"
tags: ["Companies"]
---

# Remove Universal Company Restriction

`DELETE /v1/company-restrictions/remove-universal-restriction`

## Request

- Base URL: `https://api.avionte.com/front-office`
- URL: `https://api.avionte.com/front-office/v1/company-restrictions/remove-universal-restriction`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Removes a talent from the 'Do Not Assign' list universally across multiple tenants for specified companies.

## Headers

- `RequestId` string, uuid: Unique request identifier in UUID format used to correlate request data to log entries and events.
- `FrontOfficeTenantId` integer
- `Tenant` string

## Request body

- UniversalCompanyRestrictionRequest
  - `talentId` integer, required: The identifier for the talent.
  - `tenantCompanies` TenantCompanyMapping[], required: List of tenant and associated company identifiers where the talent should be restricted.
    - `tenantId` integer, required: The identifier for the tenant.
    - `companyIds` integer[], required: The list of company identifiers under the specified tenant.
  - `restrictedByUserId` integer, required: The user identifier who is adding the restriction.
  - `dnaDate` string, date-time: The date when the restriction was added. Defaults to current date if null. The field follows the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss formats and also supports fractional seconds, such as YYYY-MM-DDTHH:mm:ss.sss. For example, 2024-12-01, 2024-12-01T14:30:00, and 2024-12-01T14:30:00.546.
  - `dnaNotes` string: Any additional notes regarding the restriction.

## Response `200`

A response indicating the success of the operation.

- UniversalCompanyRestrictionResponse
  - `talentId` integer: The identifier for the talent.
  - `tenantCompanies` TenantCompanyMapping[]
    - `tenantId` integer, required: The identifier for the tenant.
    - `companyIds` integer[], required: The list of company identifiers under the specified tenant.
  - `restrictedByUserId` integer: The identifier for the user who added the restriction.
  - `dnaDate` string, date-time: The date when restriction was added. The field follows the YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss formats and also supports fractional seconds, such as YYYY-MM-DDTHH:mm:ss.sss. For example, 2024-12-01, 2024-12-01T14:30:00, and 2024-12-01T14:30:00.546.
  - `dnaNotes` string: The notes for the restriction.
  - `errors` string[]: A list of error messages, if any.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Access Denied
- `404`: Not found
- `405`: Unsupported method
- `406`: Unsupported format(s) indicated by Accept header
- `415`: Unsupported format(s) indicated by the Content-Type header
- `429`: Too many requests
- `500`: An unexpected error occurred
- `502`: Service Unavailable
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/avionte/apis/bold-front-office-api.md) - [All operations](https://skmtc.dev/avionte/apis/bold-front-office-api/llms.txt) - [OpenAPI document](https://skmtc.dev/avionte/apis/bold-front-office-api/revisions/bd5996cbaa0f?raw)
