API-Store
  1. Client
API-Store
  • Auth
    • Home
      GET
    • SendOTP
      POST
    • Register
      POST
    • Login
      POST
    • Log Out
      POST
    • UpdatePassword
      POST
  • Access
    • Client
      • GetClient
        GET
      • FindClient
        GET
      • UpdateClient
        PUT
    • Role
      • GetRole
      • FindRole
      • CreateRole
      • UpdateRole
      • DeleteRole
    • Permission
      • GetPermission
      • FindPermission
      • CratePermission
      • UpdatePermission
      • DeletePermission
  • User
    • Account Profile
      GET
    • Update Account
      PUT
    • Delete Account
      DELETE
  • Category
    • Category
      GET
    • Create Category
      POST
    • Update Category
      PUT
    • Delete Category
      DELETE
  • Product
    • Get Product
      GET
    • Create Product
      POST
    • Find Product
      GET
    • Update Product
      PUT
    • Delete Product
      DELETE
  • Cart
    • Get Cart
    • CreateCart
    • Find Cart
    • Update Cart
    • Delete Cart
  • Order
    • Get Order
    • Find Order
    • Create Order
    • Delete Order
  • Review
    • Create Review
    • Delete Review
  1. Client

UpdateClient

PUT
/client/2

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "role_id" : [3]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://respond-genres-mazda-student.trycloudflare.com/client/2' \
--header 'Content-Type: application/json' \
--data-raw '{
    "role_id" : [3]
}'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-03-06 11:42:01
Previous
FindClient
Next
GetRole
Built with