AgentConnect
Sessions

Set GitHub session access sync

Owner-only setting. When enabled, GitHub sessions follow the provider's current audience; unresolved history remains hidden.

PUT
/v1/orgs/{orgId}/session-access/github

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/orgs/string/session-access/github" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{  "provider": "slack",  "available": true,  "enabled": true,  "state": "disabled",  "currentRevision": "string",  "readFenceRevision": "string",  "hiddenSessions": 0}