pub async fn create_consent_with_id(
configuration: &Configuration,
consent_id: &str,
x_fusion_auth_tenant_id: Option<&str>,
consent_request: Option<ConsentRequest>,
) -> Result<ConsentResponse, Error<CreateConsentWithIdError>>
Expand description
Creates a user consent type. You can optionally specify an Id for the consent type, if not provided one will be generated.