Tags router
An overview of the tags router
Procedures
The tags router has the following procedures:
Create a tag
Create a new tag in the workspace.
- Access:
@member
// Client components
const { data } = api.tags.create.useMutation()
// Server components
const data = await api.tags.create()
Update a tag
Update a tag in the workspace.
- Access:
@member
// Client components
const { data } = api.tags.update.useMutation()
// Server components
const data = await api.tags.update()
Delete a tag
Delete a tag in the workspace.
- Access:
@member
// Client components
const { data } = api.tags.delete.useMutation()
// Server components
const data = await api.tags.delete()