|
425 | 425 | "patch": { |
426 | 426 | "operationId": "updateWorkspaceMember", |
427 | 427 | "summary": "Update workspace member", |
428 | | - "description": "Change one existing member’s workspace role. Requires workspace Admin access. Only existing members can be changed; add people with Create workspace invitations. You cannot lower your own role, and organization Admins, the workspace owner, and the workspace billing account always keep Admin. Members whose organization membership an identity provider manages cannot be changed here. Requesting the role a member already holds changes nothing and records no audit entry. Workspace API keys return `403`; use a personal API key or scoped OAuth token.\n\nOAuth scope: `api:write`.", |
| 428 | + "description": "Change one existing member’s workspace role. Requires workspace Admin access. Only existing members can be changed; anyone else is Not found, and people are added with Create workspace invitations. You cannot lower your own role, and organization Admins, the workspace owner, and the workspace billing account always keep Admin. Members whose organization membership an identity provider manages cannot be changed here. Requesting the role a member already holds changes nothing and records no audit entry, except that an organization Admin is refused whatever role is requested. Workspace API keys return `403`; use a personal API key or scoped OAuth token.\n\nOAuth scope: `api:write`.", |
429 | 429 | "x-sim-operation": "workspaces.permissions.update", |
430 | 430 | "x-oauth-scope": "api:write", |
431 | 431 | "tags": ["Workspaces"], |
|
442 | 442 | "name": "workspaceId", |
443 | 443 | "in": "path", |
444 | 444 | "required": true, |
445 | | - "description": "Workspace to retrieve.", |
| 445 | + "description": "Workspace the member belongs to.", |
446 | 446 | "schema": { |
447 | 447 | "type": "string", |
448 | 448 | "minLength": 1, |
449 | 449 | "maxLength": 128, |
450 | | - "description": "Workspace to retrieve." |
| 450 | + "description": "Workspace the member belongs to." |
451 | 451 | } |
452 | 452 | }, |
453 | 453 | { |
|
555 | 555 | "delete": { |
556 | 556 | "operationId": "removeWorkspaceMember", |
557 | 557 | "summary": "Remove workspace member", |
558 | | - "description": "Remove a member’s workspace access, or leave the workspace by naming yourself. Removing someone else requires workspace Admin access; any member may leave. The last Admin cannot leave, organization Admins hold access through their organization role and cannot be removed here, and the workspace billing account cannot be removed until billing is reassigned. Removing the workspace owner transfers ownership to the billing account. When this was the member’s last workspace in its organization, their organization membership and seat are removed too and all of their sessions end. Workspace API keys return `403`; use a personal API key or scoped OAuth token.\n\nOAuth scope: `api:write`.", |
| 558 | + "description": "Remove a member’s workspace access, or leave the workspace by naming yourself. Removing someone else requires workspace Admin access; any member may leave. The last Admin cannot leave, organization Admins hold access through their organization role and cannot be removed here, and the workspace billing account cannot be removed until billing is reassigned. Removing the workspace owner transfers ownership to the billing account. When this was the member’s last workspace in its organization, their organization membership and seat are removed too and all of their sessions end, since this endpoint is called with an API key or OAuth token rather than from a signed-in browser session. Workspace API keys return `403`; use a personal API key or scoped OAuth token.\n\nOAuth scope: `api:write`.", |
559 | 559 | "x-sim-operation": "workspaces.members.remove", |
560 | 560 | "x-oauth-scope": "api:write", |
561 | 561 | "tags": ["Workspaces"], |
|
572 | 572 | "name": "workspaceId", |
573 | 573 | "in": "path", |
574 | 574 | "required": true, |
575 | | - "description": "Workspace to retrieve.", |
| 575 | + "description": "Workspace the member belongs to.", |
576 | 576 | "schema": { |
577 | 577 | "type": "string", |
578 | 578 | "minLength": 1, |
579 | 579 | "maxLength": 128, |
580 | | - "description": "Workspace to retrieve." |
| 580 | + "description": "Workspace the member belongs to." |
581 | 581 | } |
582 | 582 | }, |
583 | 583 | { |
|
0 commit comments