Nodes & EdgesUpdate node URL
Nodes & Edges

Update node URL

Update a tracked URL on a canvas node.

curl -X PATCH "https://api.mythic-analytics.com/api/v1/canvases/example_string/nodes/example_string/urls/example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
  "url": "example_string",
  "match_type": "exact"
}'
{
  "success": true,
  "data": {
    "id": "url_5kN2mPqR",
    "url": "https://acme-retail.com/checkout",
    "match_type": "exact",
    "created_at": "2024-12-25T10:00:00Z"
  }
}
PATCH
/canvases/{canvasId}/nodes/{nodeId}/urls/{urlId}
PATCH
Security Scheme
Bearer Tokenstring
Required

Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY

Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY
path
canvasIdstring
Required

Canvas identifier.

path
nodeIdstring
Required

Canvas node identifier.

path
urlIdstring
Required

Node URL identifier.

Content-Typestring
Required

The media type of the request body

Options: application/json
urlstring
Format: uri
match_typestring
Options: exact, contains, regex
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token. Admin API key as bearer token. Format: Bearer YOUR_ADMIN_KEY

Path Parameters

canvasIdstring
Required

Canvas identifier.

nodeIdstring
Required

Canvas node identifier.

urlIdstring
Required

Node URL identifier.

Body

application/json
match_typestring
Allowed values:exactcontainsregex

Responses

successboolean
dataobject