Workspace

Create a label

Add a label to a project.

post/workspaces/{workspace_slug}/projects/{project_id}/labels/

Request

  • Base URL: https://api.plane.so/api/v1
  • URL: https://api.plane.so/api/v1/workspaces/{workspace_slug}/projects/{project_id}/labels/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.plane.so/auth/o/authorize-app/, token URL https://api.plane.so/auth/o/token/; client credentials, token URL https://api.plane.so/auth/o/token/, scopes: projects.labels:write)

Path parameters

workspace_slugstring required

Workspace identifier from the workspace URL. In https://app.plane.so/my-team/projects/ it is my-team.

project_idstring uuid required

The project the resource belongs to.

Request body

namestring required
colorstring
descriptionstring
parentstring uuid
sort_ordernumber
external_sourcestring
external_idstring

Response

The created label.

idstring uuid required
namestring required
colorstring nullable
descriptionstring nullable
parentstring uuid nullable
sort_ordernumber
projectstring uuid

Changes

No recorded changes to this operation across all 1 revision of this API.