All Products
Search
Document Center

Function Compute:DeleteService

Last Updated:Jun 02, 2023

Deletes a service.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

DELETE /2021-04-06/services/{serviceName}

Request parameters

ParameterTypeRequiredDescriptionExample
If-MatchstringNo

Examples

service_name
serviceNamestringYes

Deletes a service.

demo-service
X-Fc-Account-IdstringNo

Liuxia

188077086902****

Response parameters

ParameterTypeDescriptionExample
The current API has no return parameters

Examples

Sample success responses

JSONformat

{}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2021-06-30The input parameters of the API operation change.
Change itemChange content
Input ParametersThe input parameters of the API operation change.
    Added Input Parameters: X-Fc-Account-Id
    Added Input Parameters: X-Fc-Code-Checksum
    Added Input Parameters: X-Fc-Log-Type
    Added Input Parameters: X-Fc-Invocation-Type
    Added Input Parameters: X-Fc-Date
    Added Input Parameters: X-Fc-Trace-Id
2021-06-30The input parameters of the API operation change.
Change itemChange content
Input ParametersThe input parameters of the API operation change.
    Added Input Parameters: X-Fc-Account-Id
2021-06-30The input parameters of the API operation change.
Change itemChange content
Input ParametersThe input parameters of the API operation change.
    delete Input Parameters: X-Fc-Account-Id