aliases
Assign an Alias
Creates a new alias for the deployment with the given deployment ID. The authenticated user or team must own this deployment. If the desired alias is already assigned to another deployment, then it will be removed from the old deployment and assigned to the new one.
POST
Authorizations
Default authentication mechanism
Path Parameters
The ID of the deployment the aliases should be listed for
Example:
"dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa"
Query Parameters
The Team identifier to perform the request on behalf of.
Example:
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
Example:
"my-team-url-slug"
Body
application/json
Response
200
application/json
The alias was successfully assigned to the deployment
The response is of type object
.