{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/DeleteManagedBy", "title": "DeleteManagedBy", "type": "object", "additionalProperties": false, "description": "Schema for deleting an admin. Either 'id' or 'email' must be provided.", "properties": { "orgId": { "type": "string", "description": "The admin's organization ID." }, "type": { "type": "string", "description": "Type of administrator.", "enum": [ "user" ] }, "id": { "type": "string", "description": "Entryuuid of the user." }, "email": { "type": "string", "description": "Email of the user." }, "roles": { "type": "array", "description": "The roles assigned to the admin.", "items": { "type": "string" }, "minItems": 1, "uniqueItems": true }, "operation": { "type": "string", "description": "Operation to perform on the admin.", "enum": [ "delete" ], "default": "delete" } }, "required": [ "orgId", "type", "roles", "operation" ] }