Hello,
I am trying to update connector color, but it fails if it is not connected to the card.
Using the Miro API document https://developers.miro.com/reference/update-connector, I executed the following command to change the connector color to the red.
echo '{"style":{"strokeColor":"#FF0000"}}' | \
http PATCH https://api.miro.com/v2/boards/board_id/connectors/connector_id \
accept:application/json \
authorization:'Bearer HIDDEN' \
content-type:application/json
This request works if both the two teminals of the connector is attached to the cards.
However, if at least one terminal is not connected, it returns the following error:
{
"type": "error",
"code": "operationNotSupported",
"message": "Operation not supported",
"status": 400
}
Is there any workaround to fix this?