This endpoint allows you to enroll a person profile, provided you have consent, thus enabling the auth product on it.
Headers
Name | Value |
---|---|
Content-Type | application/json |
Authorization | Bearer {token} |
Request
Key | Required | Comment |
---|---|---|
Yes | String. | |
first_name | Yes | String. |
last_name | Yes | String |
consent | No | Deprecated. Use ConsumerConsent instead. |
Response
Name | Value |
---|---|
person_id | The id to refer this person. |
Status Code
Code | Comment |
---|---|
201 | OK, person enrolled |
400 | Input data not correct |
401 | User not authorized |