Update an existing member

Modify the properties of an existing member by providing its unique ID and updated details.

PATCH
/organizations/{organizationId}/members/{memberId}
AuthorizationBearer <token>

In: header

Path Parameters

organizationId*string

Unique identifier of the organization

memberId*string

Unique identifier of the organization member

Request Body

application/json

The updated details for the member.

TypeScript Definitions

Use the request body type in TypeScript.

role_name*string

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://api-testnet.dual.network/organizations/string/members/string" \  -H "Content-Type: application/json" \  -d '{    "role_name": "string"  }'
{}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}