Tags
Was this helpful?
Was this helpful?
Get a tag by its ID.
The ID of the tag to retrieve.
69e0b863-8bb8-47e1-b566-8b8d57441c70
GET /api/v1/tag/{tag_id} HTTP/1.1
Host: api.secoda.co
Authorization: Bearer string
Accept: */*
{
"id": "69e0b863-8bb8-47e1-b566-8b8d57441c70",
"created_at": "2023-09-05T17:32:56.571134Z",
"updated_at": "2023-09-05T17:32:56.571151Z",
"name": "Sample Tag",
"description": "This is a sample tag.",
"color": "#4299E1",
"integration_id": "69e0b863-8bb8-47e1-b566-8b8d57441c70",
"workspace_id": "f71585fa-251c-4102-8d81-c97c57c8d435"
}
Delete a tag by its ID.
The ID of the tag to delete.
69e0b863-8bb8-47e1-b566-8b8d57441c70
DELETE /api/v1/tag/{tag_id} HTTP/1.1
Host: api.secoda.co
Authorization: Bearer string
Accept: */*
No content
Get a list of tags. No filtering is currently available.
GET /api/v1/tag HTTP/1.1
Host: api.secoda.co
Authorization: Bearer string
Accept: */*
{
"links": {
"next": "https://api.secoda.co/resource/all/?page=2",
"previous": "None"
},
"meta": {
"page": 1,
"previous_page": "None",
"next_page": 2
},
"count": 315,
"total_pages": 7,
"results": [
{
"id": "69e0b863-8bb8-47e1-b566-8b8d57441c70",
"created_at": "2023-09-05T17:32:56.571134Z",
"updated_at": "2023-09-05T17:32:56.571151Z",
"name": "Sample Tag",
"description": "This is a sample tag.",
"color": "#4299E1",
"integration_id": "69e0b863-8bb8-47e1-b566-8b8d57441c70",
"workspace_id": "f71585fa-251c-4102-8d81-c97c57c8d435"
}
]
}
Create a new tag for the workspace.
Indicates the name of the tag.
Sample Tag
Indicates the description of the tag.
This is a sample tag.
Defines the different colors of the tags.
#4299E1
POST /api/v1/tag HTTP/1.1
Host: api.secoda.co
Authorization: Bearer string
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"name": "Sample Tag",
"description": "This is a sample tag.",
"color": "#4299E1"
}
{
"id": "69e0b863-8bb8-47e1-b566-8b8d57441c70",
"created_at": "2023-09-05T17:32:56.571134Z",
"updated_at": "2023-09-05T17:32:56.571151Z",
"name": "Sample Tag",
"description": "This is a sample tag.",
"color": "#4299E1",
"integration_id": "69e0b863-8bb8-47e1-b566-8b8d57441c70",
"workspace_id": "f71585fa-251c-4102-8d81-c97c57c8d435"
}
Use this endpoint to update tag name, color, or icon.
The ID of the tag to update.
38040671-8f1d-4322-b895-4fd7b73317bf
Represents the color of the tags.
#316650
PATCH /api/v1/tag/{tag_id} HTTP/1.1
Host: api.secoda.co
Authorization: Bearer string
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"color": "#316650"
}
No content