Skip to main content
PATCH
/
api
/
public
/
organizations
/
{orgId}
/
members
/
{id}
Update a member
curl --request PATCH \
  --url https://charts.basedash.com/api/public/organizations/{orgId}/members/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fullName": "<string>",
  "avatarUrl": "<string>"
}
'
{
  "data": {
    "id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "deactivatedAt": "2023-11-07T05:31:56Z",
    "userId": "<string>",
    "organizationId": "<string>",
    "user": {
      "id": "<string>",
      "fullName": "<string>",
      "avatarUrl": "<string>",
      "email": "<string>",
      "isEmailVerified": true,
      "createdAt": "2023-11-07T05:31:56Z",
      "firstName": "<string>",
      "title": "<string>"
    }
  }
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format: Bearer <basedash_api_key>

Path Parameters

orgId
string
required

Organization ID

id
string
required

Member ID

Body

application/json
role

Updated role for the member

Available options:
MEMBER
fullName
string

Updated full name for the member user

Minimum string length: 1
avatarUrl
string | null

Updated allowed HTTPS avatar URL for the member user

Response

Member updated successfully

data
object
required