clans

Update a member role (owner only)

Changed on
patch/v1/clans/{clanId}/members/{userId}/role

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/clans/{clanId}/members/{userId}/role
  • Auth
    HTTP bearer

Path parameters

clanIdstring uuid required
userIdstring uuid required

Request body

role'admin' | 'member' required
operationIdstring uuid

Use a new UUID for each command. Retry the same UUID and input only while the outcome is unknown. Every receipt is terminal, including rejection. An explicit new attempt after rejection needs a new UUID. Reuse with different input returns 409. Read /v1/clans/operations/{operationId} for the durable outcome.

Response

Successful response

successboolean required
newRole'admin' | 'member' required

Changes