Update
Update user
Updates the details of an existing user identified by their unique ID. This endpoint allows modifying information such as name, email, role, permissions, or status. It returns the updated user data upon success.
PUT
Update
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Example:
"{{companyId}}"
Path Parameters
Body
application/json
Example:
[
"returns.view",
"returns.create",
"returns.update",
"orders.view",
"orders.create",
"products.view",
"products.create",
"products.update",
"products.delete",
"customers.view",
"customers.create",
"customers.update",
"collections.*",
"warehouses.*",
"suppliers.view",
"suppliers.create",
"suppliers.update",
"expenses.view",
"expenses.create"
]
Example:
"01hqydxwtxdj3kmzp3bz7jk73g"
Example:
"2025-10-13T09:25:31.000000Z"
Example:
Example:
"01k7ee7anat9j4bn5v71v70qck"
Example:
"Test"
Example:
[]
Example:
" Test"
Example:
0
Example:
[
"returns.view",
"returns.create",
"returns.update",
"orders.view",
"orders.create",
"products.view",
"products.create",
"products.update",
"products.delete",
"customers.view",
"customers.create",
"customers.update",
"collections.*",
"warehouses.*",
"suppliers.view",
"suppliers.create",
"suppliers.update",
"expenses.view",
"expenses.create"
]
Example:
""
Example:
false
Example:
"employee"
Example:
[
{
"company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
"created_at": "2025-07-29T09:32:01.000000Z",
"currency_code": "XAF",
"currency_name": "FCFA",
"deleted_at": null,
"description": "Debitis non rerum aperiam tenetur placeat ut dignissimos.",
"id": "01k1amypzhgs7fngfx1r9d37pn",
"metadata": null,
"name": "Brekke Group",
"pivot": {
"shop_id": "01k1amypzhgs7fngfx1r9d37pn",
"user_id": "01k7ee7anat9j4bn5v71v70qck"
},
"slug": "brekke-group",
"updated_at": "2025-07-29T09:32:01.000000Z"
}
]
Example:
"2025-10-13T09:25:31.000000Z"
Response
200 - application/json
200
Example:
[
"payments.view",
"payments.create",
"returns.view",
"returns.create",
"returns.update",
"orders.*",
"orders.view",
"orders.create",
"products.*",
"products.view",
"products.create",
"products.update",
"products.delete",
"customers.*",
"customers.view",
"customers.create",
"customers.update",
"collections.*",
"warehouses.*",
"suppliers.*",
"suppliers.view",
"suppliers.create",
"suppliers.update",
"expenses.*",
"expenses.view",
"expenses.create"
]
Example:
"01hqydxwtxdj3kmzp3bz7jk73g"
Example:
"2025-10-13T09:25:31.000000Z"
Example:
Example:
"01k7ee7anat9j4bn5v71v70qck"
Example:
"Test"
Example:
[]
Example:
" Test"
Example:
0
Example:
[
"returns.view",
"returns.create",
"returns.update",
"orders.view",
"orders.create",
"products.view",
"products.create",
"products.update",
"products.delete",
"customers.view",
"customers.create",
"customers.update",
"collections.*",
"warehouses.*",
"suppliers.view",
"suppliers.create",
"suppliers.update",
"expenses.view",
"expenses.create"
]
Example:
""
Example:
false
Example:
"employee"
Example:
[
{
"company_id": "01hqydxwtxdj3kmzp3bz7jk73g",
"created_at": "2025-07-29T09:32:01.000000Z",
"currency_code": "XAF",
"currency_name": "FCFA",
"deleted_at": null,
"description": "Debitis non rerum aperiam tenetur placeat ut dignissimos.",
"id": "01k1amypzhgs7fngfx1r9d37pn",
"metadata": null,
"name": "Brekke Group",
"pivot": {
"shop_id": "01k1amypzhgs7fngfx1r9d37pn",
"user_id": "01k7ee7anat9j4bn5v71v70qck"
},
"slug": "brekke-group",
"updated_at": "2025-07-29T09:32:01.000000Z"
}
]
Example:
"2025-10-13T09:27:48.000000Z"
