API Guide

default — Success or error response
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
"messageParams": [
"string"
]
}
]
}
POST /fabrics-intents/{id}/cancel-approval
Requests a cancel for a fabric intent approval.
API
POST /fabrics-intents/{id}/cancel-approval
Description This API sends a cancel request for a fabric intent approval. If approval request for the fabric intent is sent, then
the fabric intent will be in the pending-approval state. If user wants to edit the fabric intent, the approval must be
cancelled to change the state of the fabric intent to the draft state. In draft state, user can update the fabric
intent.
Parameters
Table 35. API parameters
Filter name Description
*id
string
(path)
Unique identifier of the fabric intent. For example:
41:51771215306326025
Responses 200 — Success or error response
{
"new_object_id": null,
"id": "fabric_intent_cancel_approval_request_success",
"message": "Fabric Intent approval request cancelled successfully",
"messageParams": [],
"messages": [
{
"id": "fabric_intent_cancel_approval_request_success",
"message": "Fabric Intent approval request cancelled successfully",
"field_name": null,
"messageParams": []
}
]
}
401 — You are not authorized to perform this operation
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
Fabrics-intents 73