Skip to main content
DELETE
/
functions
/
{functionId}
cURL
curl --request DELETE \
  --url https://api.cradl.ai/{basePath}/functions/{functionId} \
  --header 'Authorization: Bearer <token>'
{
  "updatedTime": "<string>",
  "metadata": {},
  "updatedBy": "<string>",
  "description": "<string>",
  "functionId": "<string>",
  "createdBy": "<string>",
  "name": "<string>",
  "createdTime": "<string>",
  "managedCodeId": "<string>",
  "runtime": "python",
  "organizationId": "<string>",
  "fileUrl": "<string>",
  "id": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cradl.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

functionId
string
required

Response

200 response

updatedTime
string | null
required
Pattern: ^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$
metadata
object
required
updatedBy
string | null
required
Maximum string length: 4096
description
string | null
required
Maximum string length: 4096
functionId
string
required
Pattern: ^cradl:function:[a-z0-9-_]+$
createdBy
string
required
Maximum string length: 4096
name
string | null
required
Maximum string length: 4096
createdTime
string
required
Pattern: ^[0-9]{4}-?[0-9]{2}-?[0-9]{2}( |T)?[0-9]{2}:?[0-9]{2}:?[0-9]{2}(.[0-9]{1,6})?(Z|[+][0-9]{2}(:|)[0-9]{2})$
managedCodeId
string | null
Pattern: ^cradl:managed-code:[0-9A-Za-z-_]+$
runtime
enum<string>
Available options:
python,
nodejs
organizationId
string
Pattern: ^(cradl|las):organization:[a-z0-9-_]+$
fileUrl
string | null
Pattern: ^http://localhost.*|^https://.*
id
string
Pattern: ^((cradl|las):organization:[a-z0-9-_]+/)?cradl:function:[a-z0-9-_]+$