---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename"
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename

`POST /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename`

The operation to rename a subscription

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Request body

- SubscriptionName — The new name of the subscription.
  - `subscriptionName` string — New subscription name

## Response `200`

OK. The request has succeeded.

- RenamedSubscriptionId — The ID of the subscriptions that is being renamed
  - `subscriptionId` string — The ID of the subscriptions that is being renamed

## Other responses

- `default` — Describes the error if the operation is not successful.

---

[API](https://skmtc.dev/azure/apis/subscriptionclient-5.md) · [All operations](https://skmtc.dev/azure/apis/subscriptionclient-5/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/subscriptionclient-5/revisions/fc3bd85b6051/schema)
