cURL
curl --request DELETE \ --url https://api.gcore.com/cloud/v1/faas/namespaces/{project_id}/{region_id}/{namespace_name}/functions/{function_name} \ --header 'Authorization: <api-key>'
{ "tasks": [ "d478ae29-dedc-4869-82f0-96104425f565" ] }
Delete a specific function from its namespace. The function must be in a state that allows deletion.
Was this page helpful?