Add new tag
documentedCreate a new tag with a name and color.
PUT /config_api_v1/tagsTagsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl -X POST "https://api.dotcom-monitor.com/config_api_v1/login" \
-H "Content-Type: application/json" \
-d "{\"UID\": \"{{DOTCOM-MONITOR_WEB_API_UID}}\"}" \
-c cookies.txt -s && \
npx -y keychains@latest curl "https://api.dotcom-monitor.com/config_api_v1/tags" \
-X PUT \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-b cookies.txt \
-d "{\"Name\": \"{{$title}}\", \"Color\": \"{{$color}}\"}"