Back to Collection Items
        
void ChilkatSample(void)
    {
    json.UpdateString(L"tags[0].id",L"{{tag_id}}");    json.UpdateString(L"tags[0].name",L"B2B");    json.UpdateString(L"tags[1].id",L"{{tag_id}}");    json.UpdateString(L"tags[1].name",L"Standard");    http.put_AuthToken(L"<access_token>");    json.EmitSb(sbRequestBody);    success = http.HttpSb(L"PUT",L"https://domain.com/crm/v2/settings/tags?module=Vendors",sbRequestBody,L"utf-8",L"application/json",resp);
    }
        Curl Command
        curl -X PUT
	-H "Authorization: Bearer <access_token>"
	-d '{
    "tags": [
        {
            "id": "{{tag_id}}",
            "name": "B2B"
        },
        {
            "id": "{{tag_id}}",
            "name": "Standard"
        }
    ]
}'
https://domain.com/crm/v2/settings/tags?module=Vendors
        Postman Collection Item JSON
        {
  "name": "Vendors",
  "request": {
    "auth": {
      "type": "bearer",
      "bearer": [
        {
          "key": "token",
          "value": "{{access-token}}",
          "type": "string"
        }
      ]
    },
    "method": "PUT",
    "header": [
    ],
    "body": {
      "mode": "raw",
      "raw": "{\n    \"tags\": [\n        {\n            \"id\": \"{{tag_id}}\",\n            \"name\": \"B2B\"\n        },\n        {\n            \"id\": \"{{tag_id}}\",\n            \"name\": \"Standard\"\n        }\n    ]\n}",
      "options": {
        "raw": {
          "language": "json"
        }
      }
    },
    "url": {
      "raw": "{{api-domain}}/crm/v2/settings/tags?module=Vendors",
      "host": [
        "{{api-domain}}"
      ],
      "path": [
        "crm",
        "v2",
        "settings",
        "tags"
      ],
      "query": [
        {
          "key": "module",
          "value": "Vendors"
        }
      ]
    },
    "description": "To update tags."
  },
  "response": [
  ]
}