Delete Architecture Link (RESERVED)


Overview

Remove a link between two custom nodes in an architecture custom view. The type of link removed (AUTHORIZED_LINK or UNAUTHORIZED_LINK) follows the view’s linkMode, so the request does not carry a linkType.

This operation is supported for architecture custom views only.

URI

DELETE /rest/applications/{name}/custom-views/architecture/link

Path parameters

name (string)

This parameter identifies the analyzed application. The application name must be properly encoded if required. Character back-quote is not allowed.

Request Body

{
    "modeId": "abc123-def456",
    "sourceId": "4:abc:123",
    "targetId": "4:abc:456"
}
Property Type Required Description
modeId string Yes ID of the custom view containing the link. The referenced view must be Architecture.
sourceId string Yes ID of the source custom node.
targetId string Yes ID of the target custom node. Must be different from sourceId.

Responses

application/json

Success Response

{
    "success": "Architecture link deleted successfully"
}

Error Response

Missing, or identical, node IDs:

{
    "code": 2,
    "message": "modeId, sourceId, and a distinct targetId are required",
    "status": 400
}

JSON representation

Property Type Description
success string Confirmation message on successful deletion.