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.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
orgId*string
agentId*string
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response 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"}