Tags
Returns tags for the selected project with test and suite usage counts.
Token-based authentication with required prefix "Token"
Project ID. Required for organization and user API tokens.
Authentication credentials were missing or invalid.
GET /api/v2/tags/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
[
{
"color": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"suitesCount": 1,
"testsCount": 1
}
]Token-based authentication with required prefix "Token"
Project ID. Required for organization and user API tokens.
Tag names cannot contain commas or control characters.
^#[0-9A-Fa-f]{6}$Request body failed validation.
Authentication credentials were missing or invalid.
POST /api/v2/tags/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 30
"name='text'&color='text'"{
"color": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
}Token-based authentication with required prefix "Token"
A UUID string identifying this tag.
Project ID. Required for organization and user API tokens.
Authentication credentials were missing or invalid.
Resource not found.
GET /api/v2/tags/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
{
"color": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
}Deletes the tag and all of its assignments.
Token-based authentication with required prefix "Token"
A UUID string identifying this tag.
Project ID. Required for organization and user API tokens.
No response body
No content
Authentication credentials were missing or invalid.
Resource not found.
DELETE /api/v2/tags/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Accept: */*
No content
Token-based authentication with required prefix "Token"
A UUID string identifying this tag.
Project ID. Required for organization and user API tokens.
Tag names cannot contain commas or control characters.
^#[0-9A-Fa-f]{6}$Request body failed validation.
Authentication credentials were missing or invalid.
Resource not found.
PATCH /api/v2/tags/{id}/ HTTP/1.1
Authorization: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 30
"name='text'&color='text'"{
"color": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text"
}Last updated
Was this helpful?
