Create a bypass codepost https://{hostname}/amfa/v1/users/{userId}/bypass-codesGenerate a new bypass code for a specific user account.Path ParamsuserIdstringrequiredA unique identifier for the user account.Query ParamscontractIdstringrequiredUnique identifier for the contract.accountSwitchKeystringFor customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.Body ParamsexpirationDatedate-timerequiredISO 8601 timestamp indicating when the bypass code expires.remainingUsesintegerrequired1 to 10The bypass code reuse count at a given time. The maximum reuse number is 10.HeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsonapplication/problem+jsonAllowed:application/jsonapplication/problem+jsonResponses 201The operation provides data for a newly created bypass code. 400Bad request. 401Unauthorized. 403Forbidden. 404Not found. 500Internal server error.Updated about 1 month ago