AgentConnect
Agents

Update an installation grant

Raise an installation grant to a stronger access tier, change how its repositories are materialized (on-demand or decision; decision has the same preconditions as on create, 409 otherwise), or both. At least one field is required. Lowering the tier requires revoking and granting again. Organization owners only; the change re-projects the agent’s spec.

PATCH
/v1/orgs/{orgId}/agents/{agentId}/installations/{id}

授权

bearerAuth
授权Bearer <token>

位置: header

路径参数

orgId*string
agentId*string
id*string

请求主体

application/json

TypeScript 定义

在 TypeScript 中使用 request body 类型。

响应主体

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/orgs/string/agents/string/installations/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "provider": "github",  "installationId": 0,  "accountLogin": "string",  "access": "read",  "materialize": "decision",  "createdBy": "string",  "createdAt": "string"}