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
RulesConfigCreateOrUpdateRequestThe RulesConfigCreateOrUpdateRequest containing the details of the rule to create or update.
cancellationToken
CancellationTokenThe 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
stringThe key of the rules-config to delete.
cancellationToken
CancellationTokenThe cancellation token to cancel operation.