Improve your Skyline experience
You're using a browser that skyline.benevity.org does not support. Try Chrome, Edge, Safari or Firefox for a better experience.

# Update a Tag

Once the tag is created using the services, then the user can be able to update the tag properties using the PATCH /locations/tags/{tagId} endpoint.

# Building your request

Ensure that you authenticate the request with the JWT you've previously obtained, by passing the JWT as an Authorization header.

Great, let's update an existing tag! All that you have to do now, is to tell us to process the request. To do so, we will call the PATCH /locations/tags/{tagId}} endpoint.

This endpoint requires some additional information, such as:

Tag attributes:

  • name - Name of the Tag.
  • value - Value of the Tag.

# Sample request:

In our example, we're going to be updating tag with a new value.

# Sample response:

{
  "data": {
    {
      "type": "tag",
      "id": "1016528404788281344",
      "attributes": {
        "_id": "1016528404788281344",
        "name": "Area",
        "value": "West"
      }
    }
  }
}

# 🚀 ☀️ ⭐️ Congratulations! ⭐️ ☀️ 🚀

You have now updated an existing tag and received the response, to help your users drive further goodness in the world!