Skip to main content

update_token_limits

Function update_token_limits 

Source
pub async fn update_token_limits(
    configuration: &Configuration,
    token_prefix: &str,
    update_token_limits_request: UpdateTokenLimitsRequest,
) -> Result<String, Error<UpdateTokenLimitsError>>
Expand description

Tightening (an earlier expiration, a narrower IP list) is always allowed on a token you created. Widening is allowed only as far as the calling token could mint a new token with the same rights, and a later expiration is capped by max_token_expiration_days.