Deletes an alias.
Authorization information
Request syntax
DELETE /2021-04-06/services/{serviceName}/aliases/{aliasName}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
serviceName | string | Yes | $.parameters[8].schema.enumValueTitles | demo-service |
aliasName | string | Yes | Deletes an alias. | test |
If-Match | string | No | {"name":"DeleteAlias","product":"FC-Open","version":"2021-04-06","path":"/2021-04-06/services/{serviceName}/aliases/{aliasName}","deprecated":0,"method":"DELETE","protocol":"HTTP|HTTPS","hidden":0,"timeout":10000,"parameter_type":"Single","params":"[{"name":"serviceName","position":"Path","required":true,"checkBlank":false,"visibility":"Public","deprecated":false,"type":"String","title":"The name of the service.","description":"The name of the service.","example":"demo-service"},{"name":"aliasName","position":"Path","required":true,"checkBlank":false,"visibility":"Public","deprecated":false,"type":"String","title":"The name of the alias.","description":"The name of the alias.","example":"test"},{"name":"If-Match","position":"Header","required":false,"checkBlank":false,"visibility":"Public","deprecated":false,"type":"String","description":"If the ETag specified in the request matches the ETag value of the object, OSS transmits the object and returns 200 OK. If the ETag specified in the request does not match the ETag value of the object, OSS returns 412 Precondition Failed. \nThe ETag value of a resource is used to check whether the resource has changed. You can check data integrity by using the ETag value. \nDefault value: null","example":"e19d5cd5af0378da05f63f891c7467af"},{"name":"X-Fc-Account-Id","position":"Header","required":false,"checkBlank":false,"visibility":"Public","deprecated":false,"type":"String","description":"The ID of your Alibaba Cloud account. ","example":"188077086902****"},{"name":"X-Fc-Date","position":"Header","required":false,"checkBlank":false,"visibility":"Public","deprecated":false,"type":"String","description":"The time when Function Compute API is called. ","example":"2020-12-1210:00:00"},{"name":"X-Fc-Trace-Id","position":"Header","required":false,"checkBlank":false,"visibility":"Public","deprecated":false,"type":"String","description":"The trace ID of the invocation request of Function Compute. ","example":"r9s89isisi****"}]","response_headers":"[]","response":"{}","errors":"{}"} | e19d5cd5af0378da05f63f891c7467af |
X-Fc-Account-Id | string | No | 139490 | 188077086902**** |
X-Fc-Date | string | No | Xiaoqi | Wed, 11 May 2022 09:00:00 GMT |
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 input parameters of the API operation change. | |||||||||||||||
| ||||||||||||||||
2021-06-29 | The input parameters of the API operation change. | |||||||||||||||
| ||||||||||||||||
2021-06-29 | The input parameters of the API operation change. | |||||||||||||||
|