draft

open suspend fun draft(authRuleToken: String, params: AuthRuleV2DraftParams = AuthRuleV2DraftParams.none(), requestOptions: RequestOptions = RequestOptions.none()): V2DraftResponse

Creates a new draft version of a rule that will be ran in shadow mode.

This can also be utilized to reset the draft parameters, causing a draft version to no longer be ran in shadow mode.


abstract suspend fun draft(params: AuthRuleV2DraftParams, requestOptions: RequestOptions = RequestOptions.none()): V2DraftResponse
open suspend fun draft(authRuleToken: String, requestOptions: RequestOptions): V2DraftResponse

See also