cURL
curl --request PATCH \ --url https://api.gcore.com/cloud/v1/faas/namespaces/{project_id}/{region_id}/{namespace_name} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "description": "This is a sample namespace.", "envs": { "ENV_VAR": "value" } }'
{ "tasks": [ "d478ae29-dedc-4869-82f0-96104425f565" ] }
Update the configuration of an existing namespace. Only specified fields will be modified.
255
Was this page helpful?