docs/classes/management.SDK.RulesConfigsClient.html
new RulesConfigsClient(options: BaseClientOptions): RulesConfigsClient
list(
requestOptions?: RulesConfigsClient.RequestOptions,
): HttpResponsePromise<RulesConfig[]>
Retrieve rules config variable keys.
Note: For security, config variable values cannot be retrieved outside rule execution.
OptionalrequestOptions: RulesConfigsClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.rulesConfigs.list()Copy
set(
key: string,
request: SetRulesConfigRequestContent,
requestOptions?: RulesConfigsClient.RequestOptions,
): HttpResponsePromise<SetRulesConfigResponseContent>
Sets a rules config variable.
Key of the rules config variable to set (max length: 127 characters).
OptionalrequestOptions: RulesConfigsClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.rulesConfigs.set("key", { value: "value" })Copy
delete(
key: string,
requestOptions?: RulesConfigsClient.RequestOptions,
): HttpResponsePromise<void>
Delete a rules config variable identified by its key.
Key of the rules config variable to delete.
OptionalrequestOptions: RulesConfigsClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.rulesConfigs.delete("key")Copy
Protected Readonly_options_options: NormalizedClientOptionsWithAuth<BaseClientOptions>
Member Visibility
ThemeOSLightDark
Constructors constructor Methods listsetdelete Properties _options