'Delete a replication action.'

def delete_replication_action(self, action_id):

    svc = ('/api/storage/v1/replication/actions/%s' % action_id)
    ret = self.rclient.delete(svc)
    if (ret.status != restclient.Status.NO_CONTENT):
        exception_msg = (_('Error    Deleting    replication    action:    %(id)s    Return    code:    %(ret.status)d    Message:    %(ret.data)s.') % {'id': action_id, 'ret.status': ret.status, 'ret.data': ret.data})
        LOG.error(exception_msg)
        raise exception.VolumeBackendAPIException(data=exception_msg)
