Skip to content
UneeqUneeqUneeq Docs

Add tags to a team (deprecated)

Deprecated
POST
/external/v1/organization/{organizationID}/teams/{teamID}/tags
curl --request POST \
--url "$UNEEQ_API_URL/external/v1/organization/$UNEEQ_ORG_ID/teams/{teamID}/tags" \
--header "Authorization: Bearer $UNEEQ_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"tags_id": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}'

Deprecated: teams no longer carry tags, and this call stores nothing. It still checks the team and the body and returns 204, so existing integrations keep working until the endpoint is removed on 1 March 2027. Assign scenarios to the team with the set team scenarios endpoint instead. Every response from the endpoint, including its 400, 403 and 500 errors, carries Deprecation, Sunset and Link headers; 401 and 429 responses are returned before the endpoint runs and do not. A request body is required (an empty body is a 500).

organizationID
required
string

ID of the organization the API key belongs to, for example org_HYPCX67vaupjhdTn.

Example

org_HYPCX67vaupjhdTn
teamID
required
string format: uuid

ID of a live team in the organization. Must be a lowercase hyphenated UUID.

Media typeapplication/json
object
tags_id

Tag IDs. Each value must be a UUID; the list is checked but not stored.

Array<string> | null

Example

{
"tags_id": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
]
}

Accepted; nothing is stored.

Deprecation
string

RFC 9745 deprecation date, @1788220800 (1 September 2026).

Sunset
string

RFC 8594 removal date, Mon, 01 Mar 2027 00:00:00 GMT.

Link
string

Link to the documentation of the replacement endpoint, with rel="deprecation".

teamID is not a lowercase UUID, or tags_id contains a value that is not a UUID (message invalid request, no error_code).

Media typeapplication/json

The body of an error returned by an endpoint.

object
message
required

Human-readable explanation of what went wrong.

string
error_code

Stable machine-readable cause. Present only for errors that have one.

string

Example generated

{
"message": "example",
"error_code": "example"
}

The Authorization header is missing, or the API key is not valid for this organization. A key check that fails on the server is also reported as 401.

Media typeapplication/json

The body of an error returned before the request reaches an endpoint (authentication and rate limiting).

object
error
required

Human-readable explanation of what went wrong.

string

Example generated

{
"error": "example"
}

The team does not exist, was deleted, or is not in this organization (message team does not belong to the requested organization, no error_code).

Media typeapplication/json

The body of an error returned by an endpoint.

object
message
required

Human-readable explanation of what went wrong.

string
error_code

Stable machine-readable cause. Present only for errors that have one.

string

Example generated

{
"message": "example",
"error_code": "example"
}

The API key has sent too many requests. Wait for the number of seconds in Retry-After, then retry.

Media typeapplication/json

The body of an error returned before the request reaches an endpoint (authentication and rate limiting).

object
error
required

Human-readable explanation of what went wrong.

string

Example generated

{
"error": "example"
}
Retry-After
integer
>= 1

Seconds to wait before retrying.

The body is empty, not valid JSON, or has a field of the wrong type (message unable to decode request body), or the team lookup failed (message unable to updates a requested team). No error_code.

Media typeapplication/json

The body of an error returned by an endpoint.

object
message
required

Human-readable explanation of what went wrong.

string
error_code

Stable machine-readable cause. Present only for errors that have one.

string

Example generated

{
"message": "example",
"error_code": "example"
}