Skip to main content
POST
/
crm
/
objects
/
{from}
/
rename
Rename object
curl --request POST \
  --url https://www.dench.com/api/v1/crm/objects/{from}/rename \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "to": "string"
}'
{
  "ok": true
}

Authorizations

Authorization
string
header
required

Workspace-scoped Dench API key from workspace settings. This is the same key used by DENCH_API_KEY in sandboxes.

Path Parameters

from
string
required

Current object name (path).

Body

application/json
to
string
required

New object name.

Response

Successful response

ok
boolean
required