Browse Documentation

Reference / browser control plane / generated

PATCH/v1/projects/{projectId}/members/{userId}

Change a project member role.

Change a project member role

Operation IDupdateProjectMember
Success204
AuthenticationBrowser session
CSRF headerX-Wildflower-Csrf

Request contract

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

The JSON request body uses the UpdateProjectMemberInput 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/projects/${WILDFLOWER_PROJECT_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.