Skip to main content
PUT
Update member

Authorizations

token
string
query
required

Vida API Token

Query Parameters

targetAccountId
integer

Select an account the requester is authorized to access. Omit to use the authenticated account. This parameter does not grant additional privileges.

Body

application/json
targetMemberId
number
required

User Id of the member you are updating

Example:

3

email
string

New email for the member

Example:

"member@acmesolar.com"

role
string

Role for the member

Example:

"admin"

permittedAccountIds
number[]

Account ids that this member can access. Send empty array to remove all account restrictions

Example:

Response

201 - application/json

Member updated

success
boolean
Example:

true

message
string
Example:

"Member updated"