---
title: "Update staff user"
method: POST
path: "/setting/update-staff"
tags: ["Setting"]
---

# Update staff user

`POST /setting/update-staff`

Use this BillingServ API endpoint to update staff user. Review the response for the operation result or validation errors.

## Request body

- object
  - `user_id` integer, required
  - `name` string, required
  - `email` string, email, required
  - `username` string, email, required
  - `password` string, password
  - `permission` StaffPermissionsRequest — Optional staff permissions. Set a permission to `Y` to enable it.
    - `dashboard` 'Y'
    - `packages` 'Y'
    - `customers` 'Y'
    - `invoices` 'Y'
    - `marketing` 'Y'
    - `reports` 'Y'
    - `support` 'Y'
    - `settings` 'Y'

## Response `200`

OK

- ApiResponse
  - `success` boolean

## Other responses

- `401` — Missing or invalid API key
- `403` — Authenticated key does not have permission for this endpoint
- `404` — The requested resource was not found or is not available to this API account.
- `422` — Validation error

---

[API](https://skmtc.net/b-cdn/apis/billingserv-api-v2.md) · [All operations](https://skmtc.net/b-cdn/apis/billingserv-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/b-cdn/billingserv-api-v2/revisions/76cfbed5eb40/schema)
