v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_Functions

List Namespaces

Returns a list of namespaces associated with the current user. To get all namespaces, send a GET request to /v2/functions/namespaces.

get/v2/functions/namespaces

Response

An array of JSON objects with a key called namespaces. Each object represents a namespace and contains the properties associated with it.

Example response

{
  "namespaces": [
    {
      "api_host": "https://api_host.io",
      "namespace": "fn-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "created_at": "2022-09-14T04:16:45Z",
      "updated_at": "2022-09-14T04:16:45Z",
      "label": "my namespace",
      "region": "nyc1",
      "uuid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "key": "d1zcd455h01mqjfs4s2eaewyejehi5f2uj4etqq3h7cera8iwkub6xg5of1wdde2"
    }
  ]
}