POST | /user/psk | Create a PreSharedKey for the User for 2 Factor Auth. | |
---|---|---|---|
PUT | /user/psk | Update a PreSharedKey's status for the User for 2 Factor Auth. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Username | body | string | No | |
MembershipId | body | int | No | |
UserId | body | Guid | No | |
Passcode | body | string | No | |
Enabled | body | bool | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /user/psk HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"username":"String","membershipId":0,"userId":"00000000000000000000000000000000","passcode":"String","enabled":false}