Nurama Developers
Tags

Create a new tag

Creates a new project-scoped tag. Tags can then be applied to the project's assets, folders, submissions, boards and tasks via their `/tag` endpoints. Requires `canCreateTag` on `ownerResourceId`. Currently only `ownerResourceType: project` is accepted. Tag names must be unique per owner (400 `tagSlugExists`).

POST
/tags

Creates a new project-scoped tag. Tags can then be applied to the project's assets, folders, submissions, boards and tasks via their /tag endpoints. Requires canCreateTag on ownerResourceId. Currently only ownerResourceType: project is accepted. Tag names must be unique per owner (400 tagSlugExists).

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/tags" \  -H "Content-Type: application/json" \  -d '{    "name": "High Priority",    "ownerResourceType": "project",    "ownerResourceId": "65af4c7b22ac19c0b1648241"  }'
{  "id": "65af4c7b22ac19c0b1648555",  "name": "High Priority",  "slug": "high-priority",  "ownerResourceType": "project",  "ownerResourceId": "65af4c7b22ac19c0b1648241",  "color": "#FF5722",  "createdAt": 1678886400000,  "updatedAt": 1678886400000}