/
CO
copperx
/
Copperx API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Checked 53m ago · Updated 1mo ago
Details
Asset
2
Auth
2
Chain
2
Checkout Sessions
8
Constants
1
Coupons
7
Customer
5
Invoice Setting
1
Invoices
11
Organization
3
Partner
2
Payment Intents
2
Payment Links
7
Payment Setting
1
Price
4
Product
7
Storage Files
1
Subscriptions
5
TaxRate
6
Transactions
1
User
3
get
List of users
delete
Delete a user
put
Update a user role
UserInvites
4
WebhookEndpoints
7
Withdrawal Addresses
6
User
Update a user role
Updates a user role
put
/api/v1/users/{id}/role
Path parameters
id
string
required
Request body
UpdateUserRole
required
role
string
required
Response
UserDto
required
id
string
required
firstName
string
required
lastName
string
required
email
string
role
string
required
profilePicture
string
phone
string
position
string
status
'pending'
|
'active'
|
'suspended'
required
createdAt
string
date-time
updatedAt
string
date-time
flags
UserFlagsDto