Request

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

Path parameters

Parameter name Value Description Additional
userId integer

pass a user id to update 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 updated

User Identity
400 Bad Request

bad input parameter

401 Unauthorized

authorization information is missing or invalid.

404 Not Found

a user with the specified ID was not found.


Explore this API

userId

pass a user id to update the user identity information.

userIdentityItem

UserIdentity item to update

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