# Delete Twin Doc
This endpoint deletes the given Doc of the given Twin.
In order for a user to perform the "delete_twin_doc" operation, the "delete_twin_doc" permission must be included in the list of allowed actions in the statement of the user's role.
The response returns the details of the deleted Doc.
Certificate generated automatically by the system upon sending a request to copy the Doc (attach_twin_doc endpoint). It cannot be modified after it has been generated.
|storage_class||string, value can be ||Storage class of the Doc:|
Once the Doc has been copied and attached to a Twin, the
|status||string, value can be ||Status of the Doc:|
|updated_ts||timestamp||Time at which the Doc was last updated. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).|
|description||dictionary||User-defined key-value pairs:|
- key: It must match the regular expression(opens new window)
- value: JSON compliant value.
For more details consult the description field section.
"hash" attribute is only displayed in the
"creation_certificate" if it was provided in the request to the attach_twin_doc endpoint.
# Status codes
Requests to this endpoint result in generic status codes. For a comprehensive list of status codes, please consult the Status codes section.