tfa/default-provider-code/{userId}

tfa/default-provider-code/{userId}

put/V1/tfa/default-provider-code/{userId}

Set default provider code

Request
path Parameters
userId
required
integer
Request Body schema:
providerCode
required
string
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "providerCode": "string"
}
Response samples
true

tfa/default-provider-code/{userId}

get/V1/tfa/default-provider-code/{userId}

Get default provider

Request
path Parameters
userId
required
integer
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Response samples
"string"