curl --request PATCH \
--url https://api.example.com/tags/{tag_id} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"name": "<string>",
"color": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"color": "<string>"
}Update an existing tag.
curl --request PATCH \
--url https://api.example.com/tags/{tag_id} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"name": "<string>",
"color": "<string>"
}
'{
"id": "<string>",
"name": "<string>",
"color": "<string>"
}Was this page helpful?