Skip to navigation

Delete entity by name

View as Markdown

Delete an entity by its name.

Example:

DELETE /apis/entities/v2/workspaces/default/entities/customization_config/my-config

Path parameters

workspacestringRequired
entity_typestringRequired
namestringRequired

Query parameters

parentstringOptional
Parent entity ID for nested entities
expected_db_versionintegerOptional
Optional database version for optimistic locking. Delete only succeeds if the entity still has this version.

Response

Successful Response
idstring
The ID of the deleted resource.
messagestringOptionalDefaults to Resource deleted successfully.

Errors

403
Forbidden Error
422
Unprocessable Entity Error