# Identity

This API allows to edit some user's parameters. These are parameters that identify the user, such as their first name, last name and pseudo.

{% hint style="info" %}
If you have your **admin API key**, you can try the API via this [**link**](https://drivequant.stoplight.io/docs/drivequant-public/ebb7b1477fc12-update-driver-identity).
{% endhint %}

## Update driver info

<mark style="color:orange;">`PUT`</mark> `https://service.drivequant.com/v3/drivekit/admin/drivers/{userId}/identity`

Update the driver's firstname, lastname and pseudo.

#### Path Parameters

| Name   | Type   | Description                |
| ------ | ------ | -------------------------- |
| userId | string | Driver's unique identifier |

#### Headers

| Name                   | Type   | Description   |
| ---------------------- | ------ | ------------- |
| DriveKit-Admin-API-Key | string | Admin API Key |

#### Request Body

| Name      | Type   | Description        |
| --------- | ------ | ------------------ |
| firstname | string | Driver's firstname |
| lastname  | string | Driver's lastname  |
| pseudo    | string | Driver's pseudo    |

{% tabs %}
{% tab title="200 " %}

```
The driver's infos has been updated
```

{% endtab %}

{% tab title="404 " %}

```
Driver Not Found
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.drivequant.com/backend/driver/identity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
