curl --request DELETE \
--url http://localhost:8000/scripts/{script_name} \
--header 'Authorization: Basic <encoded-value>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Delete a script.
Args: script_name: Name of the script to delete
Returns: Success message when script is deleted
Raises: HTTPException: 404 if script not found
curl --request DELETE \
--url http://localhost:8000/scripts/{script_name} \
--header 'Authorization: Basic <encoded-value>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Was this page helpful?