apicheats.dev Cheat sheet Raw .md
PUT

Try PUT /orgs/{org}/copilot-spaces/{space_number} — GitHub API

GitHub playground

Set an organization Copilot Space

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

5 body fields
  • name · optional · string — The name of the Copilot Space.
  • description · optional · string — A description of the Copilot Space.
  • general_instructions · optional · string — General instructions for the Copilot Space.
  • base_role · optional · string — The base role that determines default permissions for organization members. Changing this field requires admin permissions. - `no_access`: No default access (default) - `reader`: Organization members can read the space - `writer`: Organization members can read and edit the space - `admin`: Organization members have full admin access to the space
  • resources_attributes · optional · object[] — Resources to attach to the space.