Change what a builder is, or which suites they may work on
Restrict updates to admins.
PATCH/v1/organizations/{organizationId}/builders/{userId}
Admins can do everything and need no suite list; members see only their assigned suites, or every suite in the organisation when allSuites is on. Prevent demoting the last admin so the organisation always has someone who can change it.
Requires the members:write scope. Operation builders.update. MCP tool builders_update. CLI: grid82 builders update (npx grid82).
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
organizationId | string | yes | |
userId | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Idempotency-Key | string | no | Any unique string. Sending the same key with the same request again returns the first response (marked Idempotency-Replayed: true) instead of running it twice. Reusing it for a different request is refused with 409. Kept for 24 hours. Up to 255 characters. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
role | “admin” or “member” | no | |
allSuites | boolean | no | |
suiteIds | string[] | no | |
canCreateSuites | boolean | no |
Response
Success
dataobjectrequiredRefused
errorobjectrequired