---
title: "Change the supervisor of agent numbers"
method: POST
path: "/agentnumbers/change_supervisor"
tags: ["Agent Numbers"]
deprecated: true
---

# Change the supervisor of agent numbers

`POST /agentnumbers/change_supervisor`

## Request

- Base URL: `https://api.surense.com/api/v1`
- URL: `https://api.surense.com/api/v1/agentnumbers/change_supervisor`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.surense.com/oauth/token`

> **Deprecated.**

## Request body

- ChangeSupervisorRequest
  - `agentNumbers` string[]
  - `supervisorId` string, uuid

## Response `200`

OK

- AgentNumberValue[]
  - `tenantId` string, uuid
  - `agencyId` string, uuid
  - `createdDate` string, date-time
  - `createdBy` string, uuid
  - `creatorName` string
  - `lastModifiedDate` string, date-time
  - `lastModifiedBy` string, uuid
  - `version` integer
  - `id` string, uuid
  - `description` string
  - `companyId` integer
  - `licenseeId` string, uuid
  - `licenseeName` string
  - `supervisorId` string, uuid
  - `supervisorName` string
  - `businessClassId` string, uuid
  - `businessClassName` string
  - `customerManagerId` string, uuid
  - `customerManagerName` string
  - `misparSohen` string
  - `misparSohenAv1` string
  - `misparSohenAv2` string
  - `blacklisted` boolean
  - `active` boolean
  - `statusDate` string, date-time
  - `notes` string

---

[API](https://skmtc.dev/surense/apis/agent-number-api.md) - [All operations](https://skmtc.dev/surense/apis/agent-number-api/llms.txt) - [OpenAPI document](https://skmtc.dev/surense/apis/agent-number-api/revisions/aa286e677c4e?raw)
