'Delete encryption specs for a given volume type.'

def delete(self, req, type_id, id):

    context = req.environ['cinder.context']
    authorize(context)
    if self._encrypted_type_in_use(context, type_id):
        expl = _('Cannot    delete    encryption    specs.    Volume    type    in    use.')
        raise webob.exc.HTTPBadRequest(explanation=expl)
    else:
        db.volume_type_encryption_delete(context, type_id)
    return webob.Response(status_int=http_client.ACCEPTED)
