Create a new tag
POST/projects/:projectSlug/tags
Create a new tag for the authenticated project.
Request
Path Parameters
projectSlug stringrequired
The slug for the project to create tags for. E.g. for app.zli.bz/acme
, the projectSlug is acme
.
- application/json
Body
required
Details of the tag to create.
tag string
The name of the tag to create.
Responses
- 200
The created tag
- application/json
- Schema
- Example (from schema)
Schema
id cuid
The unique ID of the tag.
name string
The name of the tag.
color string
The color of the tag.
{
"id": "string",
"name": "string",
"color": "string"
}
Loading...