Create a tag
Creates a new tag object.
Path Parameters
tag string required
The name of the tag.
application/json
Request Body
description string
The description of the tag.
Responses
- 200
OK
application/json
Schema
Example (from schema)
Schema
tags object[]
{
"tags": [
{
"name": "SENSITIVE",
"description": "Contains sensitive information"
}
]
}
PUT /tags/:tag
Request
Request
curl / cURL
curl -L -X PUT 'http://localhost:5000/api/v1/tags/:tag' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"description": "My first tag!"
}'
python / requests
curl -L -X PUT 'http://localhost:5000/api/v1/tags/:tag' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"description": "My first tag!"
}'
go / native
curl -L -X PUT 'http://localhost:5000/api/v1/tags/:tag' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"description": "My first tag!"
}'
nodejs / axios
curl -L -X PUT 'http://localhost:5000/api/v1/tags/:tag' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"description": "My first tag!"
}'
ruby / Net::HTTP
curl -L -X PUT 'http://localhost:5000/api/v1/tags/:tag' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"description": "My first tag!"
}'
csharp / RestSharp
curl -L -X PUT 'http://localhost:5000/api/v1/tags/:tag' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"description": "My first tag!"
}'
php / cURL
curl -L -X PUT 'http://localhost:5000/api/v1/tags/:tag' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"description": "My first tag!"
}'
java / OkHttp
curl -L -X PUT 'http://localhost:5000/api/v1/tags/:tag' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"description": "My first tag!"
}'
powershell / RestMethod
curl -L -X PUT 'http://localhost:5000/api/v1/tags/:tag' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"description": "My first tag!"
}'