Function azure_pim_cli::activate::activate_role

source ·
pub fn activate_role(
    principal_id: &str,
    token: &str,
    scope: &str,
    role_definition_id: &str,
    justification: &str,
    duration: u32
) -> Result<()>
Expand description

Activates the specified role

§Errors

Will return Err if the request fails or the response is not valid JSON