Delete a static asset from the user’s zo.space site.
Removes the file from the assets directory on the host.
cURL
curl --request DELETE \ --url https://api.zo.computer/space/assets \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "path": "<string>" } '
{ "success": true }
Zo API key (zo_sk_...)
Request body for deleting an asset.
Asset path to delete, e.g. '/images/logo.png'
Successful Response
True if the operation completed successfully