@is_connected<EOL><INDENT>def destroy(self, uid=None):<DEDENT>
<EOL>if uid is not None:<EOL><INDENT>if not isinstance(uid, six.string_types):<EOL><INDENT>raise TypeError("<STR_LIT>")<EOL><DEDENT><DEDENT>result = self.proxy.destroy(uid)<EOL>status = result.result_status.value<EOL>if status == enums.ResultStatus.SUCCESS:<EOL><INDENT>return<EOL><DEDENT>else:<EOL><INDENT>reason = result.result_reason.value<EOL>message = result.result_message.value<EOL>raise exceptions.KmipOperationFailure(status, reason, message)<EOL><DEDENT>
Destroy a managed object stored by a KMIP appliance.

Args:
    uid (string): The unique ID of the managed object to destroy.

Returns:
    None

Raises:
    ClientConnectionNotOpen: if the client connection is unusable
    KmipOperationFailure: if the operation result is a failure
    TypeError: if the input argument is invalid