Deletes an alias.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:DeleteAlias |
delete |
*All Resource
|
None | None |
Request syntax
DELETE /2021-04-06/services/{serviceName}/aliases/{aliasName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| serviceName |
string |
Yes |
The service name. |
demo-service |
| aliasName |
string |
Yes |
The alias. |
test |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| If-Match |
string |
No |
If the ETag value that is specified in the request matches the ETag value of the object, the object is returned with an HTTP 200 OK status code. If the ETag value that is specified in the request does not match the ETag value of the object, an HTTP 412 Precondition Failed status code is returned. The ETag value of the object is used to check whether the data has changed. You can use the ETag value to verify data integrity. Default value: null. |
e19d5cd5af0378da05f63f891c7467af |
| X-Fc-Account-Id |
string |
No |
The ID of your Alibaba Cloud account. |
188077086902**** |
| X-Fc-Date |
string |
No |
The start date of the function invocation. The format is EEE,d MMM yyyy HH:mm:ss GMT. |
Wed, 11 May 2022 09:00:00 GMT |
| X-Fc-Trace-Id |
string |
No |
The trace ID of the Function Compute invocation request. |
r9s89isisi**** |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.