DELETE
/
api
/
v1
/
external-functions
/
{functionId}
curl --request DELETE \
  --url https://api.play.ai/api/v1/external-functions/{functionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-USER-ID: <api-key>'

Deletes the external function with the specified ID.

Authorizations

Authorization
string
header
required

Your secret API key from PlayAI, formatted as Bearer YOUR_SECRET_API_KEY.

X-USER-ID
string
header
required

Your unique user ID from PlayAI.

Headers

accept
enum<string>
Available options:
application/json

Path Parameters

functionId
string
required

The external function's ID.

Example:

"f0gZrOKBKL7veJ6o1M"

Response

204

External function deleted.

Was this page helpful?