v14

latestOpenAPI 3.0.32026-08-04377889.4 MB
aliases

List Deployment Aliases

Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.

get/v2/deployments/{id}/aliases

Path parameters

idstring required

The ID of the deployment the aliases should be listed for

Example:dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa

The ID of the deployment the aliases should be listed for

Query parameters

teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Response

The list of aliases assigned to the deployment

Example response

{
  "aliases": [
    {
      "uid": "2WjyKQmM8ZnGcJsPWMrHRHrE",
      "alias": "my-alias.vercel.app",
      "created": "2017-04-26T23:00:34.232Z"
    }
  ]
}