Function create_application_role

Source
pub async fn create_application_role(
    configuration: &Configuration,
    application_id: &str,
    x_fusion_auth_tenant_id: Option<&str>,
    application_request: Option<ApplicationRequest>,
) -> Result<ApplicationResponse, Error<CreateApplicationRoleError>>
Expand description

Creates a new role for an application. You must specify the Id of the application you are creating the role for. You can optionally specify an Id for the role inside the ApplicationRole object itself, if not provided one will be generated.