Request

POST https://api.digital-nautic.com/v3/users/{userId}/identity

Path parameters

Parameter name Value Description Additional
userId integer

pass a user id to add the user identity information.

Required

Request body

The request body takes a complete User Identity resource, containing the following writable properties:

{
    "number": "string",
    "type": "string"
}

Properties

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)

Response

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


Explore this API

userId

pass a user id to add the user identity information.

userIdentityItem

UserIdentity item to add

Request Content-Type
Response Content-Type
Try it out!