API Guide
]
}
POST /fabrics-intents/{id}/clone
Clones a fabric intent
API
POST /fabrics-intents/{id}/clone
Description This API clones a fabric intent represented by the requested id. A new fabric intent in DRAFT state will be cloned,
along with all contained objects.
Parameters
Table 31. API parameters
Filter name Description
*id
string
(path)
Unique identifier of the fabric intent. For example:
41:3A51771215306326025
wiring_diagram_id*
string
(body)
Object id of wiring-diagram on which this intent will
be applied.
Responses 201 — New entity created successfully
{
"new_object_id": "41:51776466356076705",
"id": "fabric_intent_create_success",
"message": "Fabric Intent created successfully",
"messageParams": [],
"messages": [
{
"id": "fabric_intent_create_success",
"message": "Fabric Intent created successfully",
"field_name": null,
"messageParams": []
}
]
}
401 — You are not authorized to perform this operation
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
"messageParams": [
"string"
]
}
]
}
66
Fabrics-intents










