Table of Contents

Interface IRulesConfigClient

Namespace
Auth0.ManagementApi.Clients
Assembly
Auth0.ManagementApi.dll
public interface IRulesConfigClient

Methods

CreateOrUpdateAsync(RulesConfigCreateOrUpdateRequest, CancellationToken)

Creates or updates a rules config variable according to the request.

Task<RulesConfig> CreateOrUpdateAsync(RulesConfigCreateOrUpdateRequest request, CancellationToken cancellationToken = default)

Parameters

request RulesConfigCreateOrUpdateRequest

The RulesConfigCreateOrUpdateRequest containing the details of the rule to create or update.

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task<RulesConfig>

The newly created Rule.

DeleteAsync(string, CancellationToken)

Deletes a rules config variable.

Task DeleteAsync(string key, CancellationToken cancellationToken = default)

Parameters

key string

The key of the rules-config to delete.

cancellationToken CancellationToken

The cancellation token to cancel operation.

Returns

Task

A Task that represents the asynchronous delete operation.