Skip to main content
POST
/
api
/
tags-job-executions-new
/
many
Create multiple tags for job executions
curl --request POST \
  --url https://api.mentionlab.io/api/tags-job-executions-new/many \
  --header 'Content-Type: application/json' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "tags": [
    {
      "name": "important",
      "color": "#3B82F6"
    }
  ]
}
'
[
  {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "project": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
    "name": "important",
    "color": "#3B82F6"
  }
]

Headers

x-project-id
string
required

Project ID to specify the project context

Body

application/json
tags
object[]
required

Response

201 - application/json
id
string
required

Unique identifier for the tag

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

project
object
required

The project this tag belongs to

Example:

"a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"

name
string
required

Name of the tag

Example:

"important"

color
string
required

Color of the tag in hex format

Example:

"#3B82F6"