Skip to main content
PUT
/
v1
/
company
/
users
/
{userId}
/
role
Update user role
curl --request PUT \
  --url https://api-fundflow.venly.io/v1/company/users/{userId}/role \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true,
  "result": {
    "id": "<string>",
    "username": "<string>",
    "email": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "enabled": true,
    "invitationUrl": "<string>"
  }
}
Updates a user’s role — COMPANY_ADMIN (full access plus user management), COMPANY_MANAGER (create and manage ramp requests), or COMPANY_VIEWER (read-only access). Concept guide: Getting started with Fundflow
Requires the COMPANY_ADMIN role (the manage:company-users scope).

Authorizations

Authorization
string
header
required

OAuth2 authentication via Venly Identity Platform

Path Parameters

userId
string
required

Unique identifier of the user

Body

application/json

Request to change the role of an existing company user

role
enum<string>
required

New role for the user

Available options:
COMPANY_ADMIN,
COMPANY_VIEWER,
COMPANY_MANAGER

Response

User role successfully updated

success
boolean
default:true
result
object

Company user details