Function create_consent

Source
pub async fn create_consent(
    configuration: &Configuration,
    x_fusion_auth_tenant_id: Option<&str>,
    consent_request: Option<ConsentRequest>,
) -> Result<ConsentResponse, Error<CreateConsentError>>
Expand description

Creates a user consent type. You can optionally specify an Id for the consent type, if not provided one will be generated.