Method: projects.locations.functions.delete

Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function.

HTTP request

DELETE https://cloudfunctions.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

The name of the function which should be deleted. It takes the form projects/{project_id}/locations/{location_id}/functions/{function_id}.

Authorization requires the following Google IAM permission on the specified resource name:

  • cloudfunctions.functions.delete

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

Try it!

本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Cloud Functions