List Deployment Aliases
GET
/__remote/api.vercel.com/v2/deployments/{id}/aliasesRetrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.
/__remote/api.vercel.com/v2/deployments/{id}/aliases
const response = await fetch('/__remote/api.vercel.com/v2/deployments/id/aliases?teamId=string&slug=string', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
{ "aliases": [ { "alias": "my-alias.vercel.app", "created": "2017-04-26T23:00:34.232Z", "protectionBypass": "value", "redirect": "string", "uid": "2WjyKQmM8ZnGcJsPWMrHRHrE" } ]}AuthorizationbearerToken
Default authentication mechanism
400One of the provided values in the request query is invalid.
401The request is not authorized.
403You do not have permission to access this resource.
404The deployment was not found
410Error