[Go to site: main page, start]

Skip to main content
DELETE
Delete a backend function

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Scopes

full_access
PersonalAccessTokenAuth
apps:deploy
WorkspaceApiKeyAuth
apps:deploy
WorkspaceApiKeyBearerAuth

Headers

X-Active-Branch-Id
string

ID of the branch the editor shows. Used when branch_id is omitted, for users who work on protected-main branches.

Path Parameters

function_name
string
required

Name of the backend function, as name in List backend functions. Nested functions have slashes in their name, and you send those as they are.

app_id
string
required

ID of the app the function belongs to.

Query Parameters

branch_id
string

ID of the branch to work on, as returned by List branches. Omit it to work on the app's main branch.

Response

The function was deleted.