Refresh GitHub repositories available to a Claude Managed agent
POST
/agents/{id}/claude/github/repositories/refreshAuthorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredPath parameters
idstringrequiredResponses
201
401
Unauthorized - Invalid or missing authentication token
403
Forbidden - Insufficient API scopes or permissions