Skip to main content
POST
/
v1
/
tags
Add Tag To Entity
curl --request POST \
  --url https://api.volteras.com/v1/tags \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "key": "<string>",
  "value": "<string>",
  "objectType": "<string>",
  "objectId": "<string>"
}
'

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
key
string
required
Maximum string length: 150
value
string
required
Maximum string length: 150
objectType
string
required

What type of object is being tagged, such as 'VEHICLE'. IMPORTANT: If the account is tagged, all devices underneath the account will also be tagged.

Allowed value: "DEVICE"
objectId
string
required

ID of the object being tagged

Response

200 - application/json

Successful Response