Browse Documentation

Reference / browser control plane / generated

PATCH/v1/accounts/{accountId}/members/{userId}

Change an account member role.

Change an account member role

Operation IDupdateAccountMember
Success204
AuthenticationBrowser session
CSRF headerX-Wildflower-Csrf

Request contract

  • accountId is a required path parameter.
  • userId is a required path parameter.

The JSON request body uses the UpdateAccountMemberInput model.

Same-origin request example

This operator-oriented example makes the cookie and CSRF boundaries explicit. Use an isolated browser test session, keep both values out of shell history, and replace generated path variables before execution.

terminal
curl --request PATCH \  --cookie "wildflower_session=${WILDFLOWER_SESSION}" \  --header "X-Wildflower-Csrf: ${WILDFLOWER_CSRF_TOKEN}" \  --header "Content-Type: application/json" \  --data @request.json \  "https://wildflower.computer/v1/accounts/${WILDFLOWER_ACCOUNT_ID}/members/${WILDFLOWER_USER_ID}"

SDK boundary

This operation powers the account console and is not emitted in the TypeScript, Python, Rust, Go, or Zig project-key SDKs. Use the generated public API reference for sandbox automation.