Add tags to a team (deprecated)
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" ]}'const url = `${process.env.UNEEQ_API_URL}/external/v1/organization/${process.env.UNEEQ_ORG_ID}/teams/{teamID}/tags`;const response = await fetch(url, { method: 'POST', headers: { Authorization: `Bearer ${process.env.UNEEQ_API_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ "tags_id": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ] }),});console.log(response.status, await response.text());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).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ID of the organization the API key belongs to, for example org_HYPCX67vaupjhdTn.
Example
org_HYPCX67vaupjhdTnID of a live team in the organization. Must be a lowercase hyphenated UUID.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Tag IDs. Each value must be a UUID; the list is checked but not stored.
Example
{ "tags_id": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ]}Responses
Section titled “Responses”Accepted; nothing is stored.
Headers
Section titled “Headers”RFC 9745 deprecation date, @1788220800 (1 September 2026).
RFC 8594 removal date, Mon, 01 Mar 2027 00:00:00 GMT.
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).
The body of an error returned by an endpoint.
object
Human-readable explanation of what went wrong.
Stable machine-readable cause. Present only for errors that have one.
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.
The body of an error returned before the request reaches an endpoint (authentication and rate limiting).
object
Human-readable explanation of what went wrong.
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).
The body of an error returned by an endpoint.
object
Human-readable explanation of what went wrong.
Stable machine-readable cause. Present only for errors that have one.
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.
The body of an error returned before the request reaches an endpoint (authentication and rate limiting).
object
Human-readable explanation of what went wrong.
Example generated
{ "error": "example"}Headers
Section titled “Headers”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.
The body of an error returned by an endpoint.
object
Human-readable explanation of what went wrong.
Stable machine-readable cause. Present only for errors that have one.
Example generated
{ "message": "example", "error_code": "example"}
