---
title: Modify an Alias
slug: jetstream-v3/modify-an-alias
docTags: 
createdAt: 2024-01-23T15:42:23.004Z
---

## About

Overwrite the name or device list of the specified alias with a new name or set of devices.

## Parameters

| **Property**                                                             | **Location**                        | **Details**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------------------------------------------------------ | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **AccessKey**<br />:::BlockQuote
string&#xA;Required&#xA;Unique
:::      | Header                              | The access key for your user account.<br />This value is a 36-character GUID provided in your [user profile](docId\:BbIFQiuIXND5iAfMreBBi).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **AliasName**<br />:::BlockQuote
string&#xA;Required&#xA;Unique
:::      | URL                                 | The name of the existing alias.<br />This value has a max length of 128 ASCII characters.<br />This value must adhere to this regular expression: ^\[a-zA-Z0-9-\_,. ]\*$                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| **Id**<br />:::BlockQuote
ulong&#xA;Unique
:::                           | Body<br />*Response*                | The ID assigned to the newly created alias.<br />This value is generated by Jetstream – do not define it in requests.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Name**<br />:::BlockQuote
string&#xA;Required&#xA;Unique
:::           | Body<br />*Request*<br />*Response* | The name of the alias.<br />This value has a max length of 128 ASCII characters.<br />This value must adhere to this regular expression: ^\[a-zA-Z0-9-\_,. ]\*$                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Devices**<br />:::BlockQuote
array(string)&#xA;Required&#xA;Unique
::: | Body<br />*Request*<br />*Response* | The name(s) of the device(s) that can assume the alias.<br />This value has a max length of 128 ASCII characters.<br />This value must adhere to this regular expression: ^\[a-zA-Z0-9-\_,. ]\*$<br />If the device(s) that can assume the alias is/are not changing, define the existing device name(s).<br />If the name of the alias is not changing, the defined devices will be associated with the existing alias name.<br />If the name of the alias is changing, the defined devices will be associated with the new alias name.<br />This property is required and must be included with all requests. If there are no devices to define, define an empty array. |
| **Region**<br />:::BlockQuote
string&#xA;Required
:::                    | Body<br />*Request*<br />*Response* | The geographic region that the RFID device is being placed. This is used to create the most reliable and lowest latency connection to the device<br />This value is one of the following possibilities: US, EU, AP, USGOV.                                                                                                                                                                                                                                                                                                                                                                                                                                                |

## Example

### Request URL

**PUT** https\://api.jetstreamrfid.com/3/aliases/\{Alias Name}

### Request Body

:::BlockQuote
\{
&#x20;   "Name": "MyNewAliasName",
&#x20;   "Devices": \[&#x20;
&#x20;           "MyExistingDeviceName1", &#x20;
&#x20;           "MyExistingDeviceName2",
&#x20;           "MyNewDeviceName3"
&#x20;   ],
&#x20;   "Region": "US"
}
:::

### Response Code

200 OK

### Response Body

:::BlockQuote
\{
&#x20;   "Id": 1,
&#x20;   "Name": "MyNewAliasName",
&#x20;   "Devices": \[&#x20;
&#x20;           "MyExistingDeviceName1", &#x20;
&#x20;           "MyExistingDeviceName2",
&#x20;           "MyNewDeviceName3"
&#x20;   ],
&#x20;   "Region": "US"
}
:::

## Version Changes

None – this is a new endpoint.
