Deleting an Alias of a Function Version
Function
This API is used to delete an alias of a function version.
To delete the additional version of an alias, delete the alias first.
URI
DELETE /v2/{project_id}/fgs/functions/{function_urn}/aliases/{alias_name}
Table 1 describes the URI parameters.
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
project_id |
String |
Yes |
Project ID. |
function_urn |
String |
Yes |
Function URN. See Function Model. |
alias_name |
String |
Yes |
Alias to be deleted. |
Request
None
Response
None
Example
Example request
DELETE /v2/7aad83af3e8d42e99ac194e8419e2c9b/fgs/functions/urn:fss:xxxxxxxxx:7aad83af3e8d42e99ac194e8419e2c9b:function:default:test:latest/aliases/dev HTTP/1.1
Example response
The format of the response for a successful request is as follows:
HTTP/1.1 204
The format of the response for a failed request is as follows:
HTTP / 1.1 404 Not Found { "error_code": "FSS.1053", "error_msg": "Not found the function alias" }
Status Code
See Status Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot