Path parameters
-
Which item to be processed
Minimum value is
0
.
Body Required
Specify one or more fields and their new values to change it
-
entity_id integer
Minimum value is
1
. -
entity_type string
Values are
Person
orEvents
.
PATCH
/tagrelation/{entity_id}
curl \
-X PATCH https://YOURSITE.infoodle.com/apiv2/tagrelation/99 \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"entity_id":123,"entity_type":"Person","tags":[1,2,3]}'
Request examples
{
"entity_id": 123,
"entity_type": "Person",
"tags": [
1,
2,
3
]
}
Response examples (200)
{
"id": 4325342
}
Response examples (401)
{
"error": "Unauthorised"
}
Response examples (403)
{
"error": "Invalid Permission"
}
Response examples (404)
{
"error": "Not Found"
}