Templates
Update an OTP template
Update an OTP template. This is a partial update: a field you omit keeps its stored value, it does not fall back to your account default.
In order to get access to this endpoint, contact our support team.
PATCH
Update an OTP template
Update an OTP template. This is a partial update: a field you omit keeps its stored value rather than falling back to your account default, so changing a suffix leaves the template’s code size, TTL and rate limits alone.
Custom suffixes are checked before they are stored. Sending a
suffix while custom suffixes are not enabled on your account is refused with custom_suffix_not_enabled. A suffix that is malformed is refused with invalid_suffix, one that reads like another company or a public institution with suffix_not_allowed, and one written in an alphabet we do not support yet with suffix_script_not_supported.
Limits
This call counts toward the configuration-change limits of the Management API: 100 configuration changes per 24 hours, and 20 calls that send a new suffix. See Limits.Authorizations
Body
application/json
A partial update. Every field is optional, and a field you omit keeps its stored value.
Response
OK
The kind of message the template sends. Possible values are:
optimized- A standard OTP message.psd2- A PSD2 strong customer authentication message.account-takeover- An account takeover confirmation message.magic-link- An SMS with a link to tap instead of a code. See Magic links.
Available options:
optimized, psd2, account-takeover, magic-link The security wording appended to the message. Possible values are:
none- No security wording.basic- A short do-not-share warning.expiration- The basic warning plus the code expiration.anti_phishing- The strongest anti-phishing wording.
Available options:
none, basic, expiration, anti_phishing