Deletes an alias.
Debugging
Authorization information
Request syntax
DELETE /2021-04-06/services/{serviceName}/aliases/{aliasName}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
serviceName | string | Yes | The service name. | demo-service |
aliasName | string | Yes | The alias. | test |
If-Match | string | No | If the ETag specified in a request matches the ETag value of the object, OSS transmits the object and returns 200 OK. If the ETag specified in a request does not match the ETag value of the object, OSS returns 412 Precondition Failed. The ETag value of a resource is used to check whether the resource has changed. You can check data integrity by using the ETag value. Default value: null. | e19d5cd5af0378da05f63f891c7467af |
X-Fc-Account-Id | string | No | The ID of your Alibaba Cloud account. | 188077086902**** |
X-Fc-Date | string | No | The time when the function is invoked. The value is in the EEE,d MMM yyyy HH:mm:ss GMT format. | Wed, 11 May 2022 09:00:00 GMT |
X-Fc-Trace-Id | string | No | The trace ID of the request for Function Compute API. | r9s89isisi**** |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2021-06-29 | The request parameters of the API has changed | see changesets | ||||||||||||||
| ||||||||||||||||
2021-06-29 | The request parameters of the API has changed | see changesets | ||||||||||||||
| ||||||||||||||||
2021-06-29 | The request parameters of the API has changed | see changesets | ||||||||||||||
|