Recovery Policy
Create
Create a recovery policy.
POST
Typescript (SDK)
Authorizations
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Body
application/json
The RecoveryPolicyServiceCreateRequest message.
The credential types a user may use to recover access.
Available options:
CREDENTIAL_TYPE_UNSPECIFIED, CREDENTIAL_TYPE_PASSKEY, CREDENTIAL_TYPE_PASSWORD, CREDENTIAL_TYPE_TOTP, CREDENTIAL_TYPE_EMAIL_OTP, CREDENTIAL_TYPE_RECOVERY_CODE, CREDENTIAL_TYPE_DELEGATED_GOOGLE, CREDENTIAL_TYPE_DELEGATED_MICROSOFT, CREDENTIAL_TYPE_UPSTREAM_IDP