Skip to main content

Create a tag

Creates a new tag object.

Path Parameters
    tag string required

    The name of the tag.

Request Body
    description string

    The description of the tag.

Responses

OK


Schema
    tags object[]
  • Array [
  • name string

    The name of the tag.

    description string

    The description of the tag.

  • ]
PUT /tags/:tag

Request

Base URL
http://localhost:5000/api/v1
tag — path required
Body
{
"description": "My first tag!"
}
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!"
}'