application/json

Body Required

New tag relation parameters

Responses

  • 200 application/json

    Item has been saved successfully

    Hide response attribute Show response attribute object
  • 401 application/json

    Authentication unauthorised

    Hide response attribute Show response attribute object
  • 403 application/json

    Invalid permission

    Hide response attribute Show response attribute object
POST /tagrelation
curl \
 -X POST https://YOURSITE.infoodle.com/apiv2/tagrelation \
 -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"
}