POST https://api.digital-nautic.com/v3/users/{userId}/identity
Parameter name | Value | Description | Additional |
---|---|---|---|
userId | integer | pass a user id to add the user identity information. |
Required |
The request body takes a complete User Identity resource, containing the following writable properties:
{
"number": "string",
"type": "string"
}
Name | Type | Description | Additional |
---|---|---|---|
number | string |
Number mentioned on the identity document |
|
type | string |
The company must ask an identity document to the user (accepted values are CARD_ID, PASSEPORT, CAR_LICENSE) |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK item created |
User Identity |
400 | Bad Request invalid input, object invalid |
|
401 | Unauthorized authorization information is missing or invalid. |
|
409 | Conflict an existing item already exists |