Deleting an Object Body

You can delete only an object body from a KiiObject.

The following sample code shows how to delete an object body.

curl -v -X DELETE \
  -H "Authorization: Bearer {ACCESS_TOKEN}" \
  -H "Accept: application/json, application/*+json" \

Kii Cloud will respond with a 204 response if the object body has been successfully deleted.

If you delete an object body that has been published, its URL will be disabled too. JSON data representing an error will be returned if a user tries to access the disabled URL with a browser.