---
title: "Creates multiple aliases for a device"
method: PUT
path: "/aliases/v2/{trackingId}/batch"
tags: ["Aliases"]
---

# Creates multiple aliases for a device

`PUT /aliases/v2/{trackingId}/batch`

Creates a set of aliases for a device identified by the `trackingId`. 
An alias must be unique within a project.

## Request body

- object
  - `aliases` object, required — A map of key-value pairs where the key is the type of the alias and the value is an array of `externalId`s.

## Response `201`

Successful (no content)

## Other responses

- `400` — Bad request The request object is in an incorrect format or has values that are invalid or out of range. If available, further error details are provided in the response body.
- `401` — Unauthorized The request did not provide correct authentication details
- `403` — Forbidden The account does not have the correct privileges
- `404` — Not Found The specified resource was not found
- `409` — Conflict The specified resource already exists

---

[API](https://skmtc.net/here/apis/tracking.md) · [All operations](https://skmtc.net/here/apis/tracking/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/here/tracking/revisions/efa162f7023c/schema)
