---
title: "Perditeso perdoruesin"
operation_id: "api.v1.on-boarding.user-update"
method: POST
path: "/api/v1/on-boarding/user/{id}"
group: "Regjistrimi"
api_version: "v1"
authenticated: true
canonical: "https://fature.al/api-reference/endpoints/api-v1-on-boarding-user-update.html"
---

# Perditeso perdoruesin

Part of the [fature.al API](/api-reference/index.html) documentation.

## POST /api/v1/on-boarding/user/{id}

Perditesoni emrin, kodin e operatorit, pajisjen fiskale dhe njesine e biznesit per nje perdorues ekzistues. Kodi i operatorit eshte i domosdoshem per leshimin e faturave.

Full URL: `https://fature.al/api/v1/on-boarding/user/{id}`

API version: `v1`.

Authentication: required (bearer token).

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer | yes | ID e perdoruesit. |

### Example request

```bash
curl -X POST 'https://fature.al/api/v1/on-boarding/user/7' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'X-Client-Id: YOUR_CLIENT_ID' \
  -H 'X-Client-Secret: YOUR_CLIENT_SECRET' \
  -H 'Accept: application/json'
```

### Responses

**200** — Kur perdoruesi nuk gjendet ose ruajtja deshton, pergjigja kthehet me HTTP 200 dhe `status: false`.

**201** — Created

| Field | Type | Description |
| --- | --- | --- |
| `status` | boolean |  |
| `data` | object |  |
| `data.user` | object |  |
| `data.user.id` | integer |  |
| `data.user.name` | string |  |
| `data.user.operatorCode` | string |  |

```json
{
    "status": true,
    "data": {
        "user": {
            "id": 1,
            "name": "Jane Doe",
            "operatorCode": "operatorCode"
        }
    }
}
```
