Skip to main content

Rename a Place Set

The ContentTools API has been deprecated and replaced by the Places API.

PUT /placesets/{setId}

Updates a place set using the unique setID.

Request

Authorization: bearer {token}

Body:

Name Description Data Type
Name (Optional) Name of the place set
string
Category (Optional) Category associated with the placeset
Valid categories include:
  • truck
  • auto_rental
  • entertainment
  • retail
  • restaurant
  • parking
  • other
  • medical
  • hotel
  • fuel
  • charging_station
  • distribution_center
  • bank
  • airport
string

Response

Name Description Data Type
id Unique place set identifier
Int
ModifiedOn Indicates the last time the place was modified
DateTime

Sample Request

{
  "Name": "placeSetName",
  "Category": "truck"
}

Sample Response

{
  "data": [
    {
      "ItemsModified": 1,
      "ModifiedOn": "2019-02-26T18:58:11.413+00:00"
    }
  ]
}

Error Codes

Name Description
Set with that name and/or tag already exists. This will be thrown when you update place set with the same name that already exists in the account.
Last updated January 9, 2023.
API Endpoint: