---
title: "Assign provider"
method: POST
path: "/providers/{id}/assignees/{tenant_id}"
tags: ["Administration"]
---

# Assign provider

`POST /providers/{id}/assignees/{tenant_id}`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/providers/{id}/assignees/{tenant_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/providers/:id/assignees/:tenant_id/post.ts> (a function with typed inputs; its response is checked against the schema)

Assign provider to tenant.

## Path parameters

- `id` string, required: The unique ID of the resource.
- `tenant_id` string, required: The unique ID of the resource.

## Request body

- object
  - `did_numbers` string: The semicolon-separated list of DID/DDI pool number range or DID/DDI number. Assign a DID/DDI pool number range or DID/DDI number to the tenant. For example: 3000;12000-18000. The DID/DDI pool number range should not overlap with other tenant DID/DDI pool number ranges and numbers.
  - `concurrency` integer: The max number of concurrent calls.

## Response `204`

No Content

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
