Delete Specific Arch
Delete a specific architecture by its unique identifier.
Endpoint
DELETE /arch/delete?id=<id>
Authentication
Header | Value |
---|---|
Authorization | Bearer <jwt_token> |
Query Parameters
Parameter | Type | Required | Description |
---|---|---|---|
id | string | ✅ | The unique identifier of the architecture to delete |
Example Request
curl -X DELETE 'http://localhost:9000/arch/delete?id=64145ebaedd163d59d52e1dc' \
-H "Authorization: Bearer <jwt_token>"
Response
Success Response (200 OK)
{
"deleteArchResult.DeletedCount": 1
}
Response Fields
Field | Type | Description |
---|---|---|
deleteArchResult.DeletedCount | number | Number of architectures successfully deleted (should be 1 if successful) |
Notes
- This operation permanently deletes the architecture
- The deletion is irreversible - deleted architectures cannot be recovered
- Ensure no applications are currently using this architecture before deletion