---
title: "Change partner's name or allocation"
method: PUT
path: "/partner/{partnerID}"
tags: ["Distributors"]
---

# Change partner's name or allocation

`PUT /partner/{partnerID}`

## Request

- Base URL: `https://api.partner.eu-central-2.impossiblecloud.com/v1`
- URL: `https://api.partner.eu-central-2.impossiblecloud.com/v1/partner/{partnerID}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/impossiblecloud/apis/impossible-cloud-management-console-public-api/docs/partner/:partnerID/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint enables a distributor to update a partner's name or allocated capacity.

## Path parameters

- `partnerID` string, uuid, required

## Request body

- ApiUpdatePartnerReqBody
  - `allocatedCapacity` integer: The updated capacity allocated to this partner
  - `name` string: The new name of the partner

## Response `200`

OK

- ApiDistributorPartnerResponse
  - `allocatedCapacity` integer: The capacity allocated to this partner under the contract
  - `allowOverdraft` boolean: Indicates if the partner can go over it's allocated capacity
  - `details` string: Additional details about the partner
  - `distributorContractId` string: The ID of the distributor's contract (UUID)
  - `id` string: The unique identifier of the partner (UUID)
  - `name` string: The name of the partner

---

[API](https://skmtc.dev/impossiblecloud/apis/impossible-cloud-management-console-public-api.md) - [All operations](https://skmtc.dev/impossiblecloud/apis/impossible-cloud-management-console-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/impossiblecloud/apis/impossible-cloud-management-console-public-api/revisions/d22e84e8b0db?raw)
