Update a custom mfa

You can update a custom mfa by calling this endpoint.

REQUIRED API PERMISSION
write:config_custom_mfa
Path Params
string
required
Body Params
string
length between 1 and 256000
Defaults to *example code*

Code of the custom mfa, if not specified it's generated automatically for each type

string
string
length between 1 and 1024
string
required
methods
array of strings
required
length between 1 and 1
methods*
string
required
length between 1 and 255
packageDependencies
object
required

Dependencies used for the event hook function

Headers
string
enum
Defaults to application/problem+json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/problem+json