All Products
Search
Document Center

Function Compute:DeleteFunctionOnDemandConfig

Last Updated:Jun 02, 2023

Deletes the on-demand configuration of a function.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

DELETE /2021-04-06/services/{serviceName}/functions/{functionName}/on-demand-config

Request parameters

ParameterTypeRequiredDescriptionExample
serviceNamestringYes

$.parameters[9].schema.enumValueTitles

service_Name
functionNamestringYes

Example 1

demo-function
qualifierstringYes

Deletes the on-demand configuration of a function.

prod
If-MatchstringNo

Xiaoqi

e19d5cd5af0378da05f63f891c7467af
X-Fc-Account-IdstringNo

65332

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 internal configurations of the API operation change but you can still call the operation.
Change itemChange content
The internal configurations of the API operation change but you can still call the operation.
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