Deletes a service.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
DELETE /2021-04-06/services/{serviceName}
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
If-Match | string | No | The value that is used to ensure that the modified service is consistent with the service to be modified. The value of this parameter comes from responses of the CreateService , UpdateService , and GetService operation. | service_name |
serviceName | string | Yes | The service name. | demo-service |
X-Fc-Account-Id | string | No | The ID of your Alibaba Cloud account. | 188077086902**** |
X-Fc-Date | string | No | The time when the Function Compute API was called. 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 request ID. | 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-30 | The request parameters of the API has changed | see changesets | ||||||||||||||
| ||||||||||||||||
2021-06-30 | The request parameters of the API has changed | see changesets | ||||||||||||||
| ||||||||||||||||
2021-06-30 | The request parameters of the API has changed | see changesets | ||||||||||||||
|