- Overview
- Our JavaScript/TypeSctipt SDK
- users
- auth
- organizations
- List organizations
- Create a new organization
- List organization balance wallets
- Deploy a new OrganizationBalancesWalletUpgradeable contract
- Update an organization balance wallet
- Get an organization by ID
- Update an organization
- Delete an organization
- List organization members
- Add a member to an organization
- Remove a member from an organization
- List all organizations in the system
- API keys
- wallets
- transactions send
- transactions approvals
- transactions create
- transactions information
- contract deployment
- contract interactions
- Get Contract Function
- Call Contract Function (Read)
- Get Function Documentation
- Update Function Documentation
- Execute Contract Function
- Submit Documentation Feedback
- Get Contract ABI
- Import Contract ABI
- Call Contract Function By Name (Read)
- Execute Contract Function By Name (Write)
- List Contract Functions
- List Interactions by Contract Address
- Search Contracts and Functions
- Generate Search Report
- Get Interaction by Transaction Hash
- Get Contract Interaction by ID
- external contracts
- permissions
- Assign role to organization userPOST
- Get organization user rolesGET
- Revoke role from organization userDELETE
- List all permissionsGET
- List permissions by resource typeGET
- Assign permission to resourcePOST
- Revoke permission from resourceDELETE
- List all rolesGET
- Create a new rolePOST
- Get a role by IDGET
- Update a rolePUT
- Delete a roleDELETE
- Set transaction limitPOST
- Get transaction limits by roleGET
- Assign permission to userPOST
- Get user permissionsGET
- Revoke permission from userDELETE
- Assign role to userPOST
- Get user rolesGET
- Revoke role from userDELETE
Revoke role from user
DELETE
/user-roles/{userId}/{roleId}
Permissions
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://transactions.srblabs.io/api/v1/user-roles//'
Response Response Example
204 - Example 1
{}
Request
Path Params
userId
string
required
roleId
string
required
Responses
🟢204No Content
application/json
Body
object {0}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error
Modified at 2025-04-30 01:06:55