teams

Attach Team Installation

Attach an org GitHub App install to the team so every member can use it.

Owner/admin only, and the caller must be a verified admin of the GitHub org the install belongs to — pass the Supabase session provider_token as X-GitHub-Token so the backend can cross-check the token's identity before trusting the org-admin claim. Idempotent.

post/teams/{team_id}/installations

Path parameters

team_idstring required

Headers

x-github-tokenstring nullable

Request body

installation_idinteger required

Response

Successful Response

team_idstring required
installation_idinteger required
linked_bystring nullable
created_atstring date-time nullable
account_loginstring nullable
account_typestring nullable
app_idstring nullable
suspendedboolean

Changes

No recorded changes to this endpoint across all 1 revision of this API.