Rename an Embed
Embeds
Rename an Embed
Rename an existing embed and optionally its underlying dashboard, without changing its access settings.
PUT
Rename an Embed
Use this endpoint to rename an existing embed. This is useful when you want to improve naming, align with client labels, or clean up your embed catalog without changing permissions or the underlying data.
Optionally, you can also rename the underlying dashboard by setting
Optionally, you can also rename the underlying dashboard by setting
isRenameDashboard to true.
Endpoint
Authentication
All API requests must include your data app API key in theAuthorization header. Get your API token when creating a data app – see the data app creation guide for details.
For details on managing API tokens, see the API Token guide.
Headers
Bearer token for API authentication. Use your data app API key.
Must be set to
application/json for all requests.Request Body
The public embed ID you want to rename (for example:
You can retrieve embed IDs from the List All Embeds API or from the embed configuration UI.
"embed-123").You can retrieve embed IDs from the List All Embeds API or from the embed configuration UI.
The new human‑readable name for the embed configuration.
Must be a non‑empty string.
Must be a non‑empty string.
Optional flag to also rename the underlying dashboard associated with this embed.
When set to
When set to
true, DataBrain attempts to update the dashboard’s name to match the new embed name. Defaults to false if omitted.Example Request
Response
The embed ID that was renamed.
The updated name of the embed configuration.
Error object if the request failed, otherwise
null for successful requests.Example Responses
HTTP Status Code Summary
| Status Code | Description |
|---|---|
200 | OK – Embed renamed successfully |
400 | Bad Request – Invalid body, invalid embed ID, or invalid API key |
500 | Internal Server Error – Unexpected server error |
Common Error Codes
| Error Code | HTTP Status | Description |
|---|---|---|
INVALID_REQUEST_BODY | 400 | Missing or invalid embedId or name |
INVALID_EMBED_ID | 400 | Embed configuration does not exist |
INVALID_DATA_APP_API_KEY | 400 | Missing or invalid data app API key |
INTERNAL_SERVER_ERROR | 500 | Unexpected failure on the server |

