Skip to content
Management API Reference

Bulk update functions

put/v1/projects/{ref}/functions

Bulk update functions. It will create a new function or replace existing. The operation is idempotent. NOTE: You will need to manually bump the version.

OAuth scopes

  • edge_functions:write

Path parameters

  • ref
    Required
    string

    Project ref

Body

Array of object

Response codes

  • 200
  • 401
  • 402
  • 403
  • 429
  • 500

Response (200)

1
{
2
"functions": [
3
{
4
"id": "lorem",
5
"slug": "lorem",
6
"name": "lorem",
7
"status": "ACTIVE",
8
"version": 42,
9
"created_at": 42,
10
"updated_at": 42,
11
"verify_jwt": true,
12
"import_map": true,
13
"entrypoint_path": "lorem",
14
"import_map_path": "lorem",
15
"ezbr_sha256": "lorem"
16
}
17
]
18
}