DeleteEntityPortrait
Deletes an architecture document from the entity portrait.
Operation description
Deletes an architecture document by cognitive dimension and document name, and refreshes the portrait summary for the dimension.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DeleteEntityPortrait |
delete |
*Workspace
|
None | None |
Request syntax
DELETE /v1/workspaces/{workspace}/entities/{entityType}/{entityId}/portrait/{dimension}/{docSlug} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The workspace. |
prod-cn-beijing |
| entityType |
string |
Yes |
The entity type. |
acs.ack.cluster |
| entityId |
string |
Yes |
The entity ID. |
c1a2b3c4d5e6f7890 |
| dimension |
string |
Yes |
The cognitive dimension identifier. Valid values: user_input, infrastructure, compute, workload, delivery, dependency, security, resilience, and observability. |
infrastructure |
| docSlug |
string |
Yes |
The stable name of the architecture document within the dimension. |
vpc-plan |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The workspace and cognitive dimension to which the deleted document belongs, and whether the document is deleted. |
||
| workspace |
string |
The workspace. |
prod-cn-beijing |
| dimension |
string |
The cognitive dimension identifier. |
infrastructure |
| deleted |
boolean |
Indicates whether the document is deleted. |
true |
Examples
Success response
JSON format
{
"workspace": "prod-cn-beijing",
"dimension": "infrastructure",
"deleted": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.