Update a specific tag header

PATCH /tagheaders/{id}

Change the properties of a tag header

Path parameters

  • id integer Required

    Which item to be processed

    Minimum value is 0.

application/json

Body Required

Specify one or more fields and their new values to change it

  • name string
  • order integer

    The order this code appears in the list

    Minimum value is 0.

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
  • 404 application/json

    Not Found

    Hide response attribute Show response attribute object
PATCH /tagheaders/{id}
curl \
 -X PATCH https://YOURSITE.infoodle.com/apiv2/tagheaders/99 \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"name":"Tag A","order":1}'
Request examples
{
  "name": "Tag A",
  "order": 1
}
Response examples (200)
{
  "id": 4325342
}
Response examples (401)
{
  "error": "Unauthorised"
}
Response examples (403)
{
  "error": "Invalid Permission"
}
Response examples (404)
{
  "error": "Not Found"
}