---
title: "Rename object"
method: POST
path: "/crm/objects/{from}/rename"
tags: ["crm"]
---

# Rename object

`POST /crm/objects/{from}/rename`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/crm/objects/{from}/rename`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Rename a CRM object.

## Path parameters

- `from` string, required: Current object name (path).

## Request body

- object
  - `to` string, required: New object name.

## Response `200`

Successful response

- object
  - `ok` boolean, required

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
