Delete Function Deployment

Deletes the deployment associated with the specified function. Upon deletion, any active instances will be terminated, and the function's status will transition to 'INACTIVE'. To undeploy a function version gracefully, specify 'graceful=true' query parameter, allowing current tasks to complete before terminating the instances. If the specified function version is public, then Account Admin cannot perform this operation. Access to this endpoint mandates a bearer token with 'deploy_function' scope in the HTTP Authorization header.

Path Params
uuid
required

Function id

uuid
required

Function version id

Query Params
boolean
Defaults to false

Query param to deactivate function for graceful shutdown

Response

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
country_code