Update Bundle Entry Permissions
Update the tool/resource/prompt allowlists of a bundle entry.
Each allowlist field is only overwritten when explicitly provided (non-None) in the request body, so a client can update a single allowlist without resending the others.
Args: bundle_id: UUID of the bundle that owns the entry. entry_id: UUID of the entry to update. body: Patch payload with optional allowed_tools, allowed_resources, and allowed_prompts lists. version_id, if present in the request body at all (even as explicit null), pins or clears the entry's version pin - unlike the allowlists, an explicit null here is meaningful (unpin back to "always latest"), so it is only applied when the field was actually sent.
Authorization
OAuth2AuthorizationCodeBearer In: header
Path Parameters
uuiduuidQuery Parameters
trueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/v1/bundles/497f6eca-6276-4993-bfeb-53cbbbba6f08/entries/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "detail": "string", "code": "string"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}