Skip to main content
DELETE
Archive or delete a function

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

workspace
string
required

Workspace slug.

Maximum string length: 64
Pattern: ^[a-z0-9][a-z0-9-]{0,63}$
name
string
required

Function name — a Python identifier.

Maximum string length: 64
Pattern: ^[a-z][a-z0-9_]{0,63}$

Query Parameters

purge
boolean
default:false

Delete the function and its versions instead of archiving.

Response

Successful Response

workspace
string
required
name
string
required
purged
boolean
required
removed
Removed · object