Skip to main content
POST
/
tags
Create a tag
curl --request POST \
  --url https://api.eu.bronto.io/tags \
  --header 'Content-Type: application/json' \
  --header 'X-BRONTO-API-KEY: <api-key>' \
  --data '
{
  "name": "environment",
  "value": "production",
  "entity": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "log"
  }
}
'
{
  "name": "environment",
  "value": "production",
  "entity": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "log"
  }
}

Authorizations

X-BRONTO-API-KEY
string
header
required

Body

application/json
name
string
required

The name of the tag, a tag name must be unique per entity.

Required string length: 1 - 255
Example:

"environment"

value
string
required

The value of the tag

Required string length: 1 - 255
Example:

"production"

entity
object
required

Response

Tag successfully created.

name
string
required

The name of the tag, a tag name must be unique per entity.

Required string length: 1 - 255
Example:

"environment"

value
string
required

The value of the tag

Required string length: 1 - 255
Example:

"production"

entity
object
required