Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

RemoveSecondFactorFromLoginPolicy

DELETE
/management/v1/policies/login/second_factors/{type}

Path Parameters

type*type
Value in"SECOND_FACTOR_TYPE_UNSPECIFIED""SECOND_FACTOR_TYPE_OTP""SECOND_FACTOR_TYPE_U2F""SECOND_FACTOR_TYPE_OTP_EMAIL""SECOND_FACTOR_TYPE_OTP_SMS""SECOND_FACTOR_TYPE_RECOVERY_CODES"

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X DELETE 'https://example.com/management/v1/policies/login/second_factors/SECOND_FACTOR_TYPE_UNSPECIFIED'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?