v5

latestOpenAPI 3.1.02026-07-31151195455.5 KB
tags

Creates a tag with the given key and value.

post/tag

Query parameters

tag_keystring

The key of the tag to create.

tag_valuestring

The value of the tag to create.

admin_owner_idstring uuid

The ID of the owner that manages the tag.

Request body

tag_keystring required

The key of the tag to create.

tag_valuestring

The value of the tag to create.

Example request

{
  "tag_key": "api-scope",
  "tag_value": "production"
}

Response

The tag that was created.

tag_idstring uuid required

The ID of the tag.

created_atstring date-time

The date the tag was created.

updated_atstring date-time

The date the tag was last updated.

user_creator_idstring uuid

The ID of the user that created the tag.

keystring

The key of the tag.

valuestring

The value of the tag.

Example response

{
  "tag_id": "f290a738-5f9f-43c2-ad67-fa31ff0eb946",
  "created_at": "2022-01-23T04:56:07Z",
  "updated_at": "2022-02-23T01:34:07Z",
  "user_creator_id": "d4a7d928-783e-4599-8ec6-088d635a5bcc",
  "key": "database-name",
  "value": "redis_db"
}