Skip to main content
PATCH
/
v1
/
company
/
users
/
{userId}
/
status
Update user status
curl --request PATCH \
  --url https://api-fundflow.venly.io/v1/v1/company/users/{userId}/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": true
}
'
{
  "success": true,
  "result": {
    "id": "<string>",
    "username": "<string>",
    "email": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "enabled": true,
    "role": "COMPANY_ADMIN",
    "invitationUrl": "<string>",
    "invitationStatus": "PENDING"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.venlyfinance.com/llms.txt

Use this file to discover all available pages before exploring further.

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 enable or disable a company user account

enabled
boolean
required

Whether the user account should be enabled (true) or disabled (false)

Response

User status successfully updated

success
boolean
default:true
result
object

Company user details