{ "operationId": "updateEntityMember", "method": "PATCH", "path": "/v3/entities/{id}/members/{memberId}", "summary": "Update entity member", "description": "Updates mutable entity member fields. Requires a platform-admin session and CSRF token.", "tags": [ "Entities" ], "parameters": [ { "name": "id", "in": "path", "required": true, "example": "string" }, { "name": "memberId", "in": "path", "required": true, "example": "string" } ], "responses": { "200": { "description": "Entity member was updated.", "schema": { "type": "object", "required": [ "data", "meta" ], "properties": { "data": { "$ref": "#/components/schemas/EntityMember" }, "meta": { "$ref": "#/components/schemas/PaginationMeta" } } } }, "400": { "description": "Malformed JSON request body.", "schema": { "$ref": "#/components/schemas/ErrorResponse" } }, "401": { "description": "Missing, invalid, or expired platform-admin session.", "schema": { "$ref": "#/components/schemas/ErrorResponse" } }, "403": { "description": "Inactive platform-admin access, missing CSRF token, or mismatched CSRF token.", "schema": { "$ref": "#/components/schemas/ErrorResponse" } }, "404": { "description": "Entity member was not found.", "schema": { "$ref": "#/components/schemas/ErrorResponse" } }, "409": { "description": "Entity member was already revoked.", "schema": { "$ref": "#/components/schemas/ErrorResponse" } }, "422": { "description": "Missing or invalid member field.", "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }