Description | : > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). The `Create` API is an HTTP `POST` request that allows the caller to create an alias and optionally assign it to a resource. An alias can reference an ID generated by a creator service, but cannot reference another alias ID. ### Submit Create Request To create your alias, you will use a `POST` request. If you would like to assign the alias during the creation, you will pass the `resourceId` query parameter. ### Create Alias Response The Create API returns a HTTP `201 Created` response with the alias resource in the body. A sample response from creating an alias: ```json { "createdTimestamp": "2020-02-13T21:19:11.123Z", "aliasId": "a8a4b8bb-ecf4-fb27-a618-f41721552766", "creatorDataItemId": "e89aebb9-70a3-8fe1-32bb-1fbd0c725f14", "lastUpdatedTimestamp": "2020-02-13T21:19:22.123Z" } ``` |
Reference | : Link ¶ |
⚼ Request
POST:
/aliases
{
x-ms-client-id:
string
,
api-version:
string
,
creatorDataItemId:
string
,
}
⚐ Response (201)
{
$headers:
{
,
access-control-expose-headers:
string
,
}
$schema:
}
{
,
createdTimestamp:
string
,
aliasId:
string
,
creatorDataItemId:
string
,
lastUpdatedTimestamp:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}