provider copilot-spaces GET /users/{username}/copilot-spaces/{space_number}/collaborators
@utdk/github /users/{username}/copilot-spaces/{space_number}/collaborators
List collaborators for a Copilot Space for a user
Lists all collaborators for a specific Copilot Space owned by a user. The authenticated user must be the owner of the space or have admin access to the space. Each collaborator entry specifies which user has access to the space and at what level (reader, writer, or admin). The space owner is excluded from this list. Team collaborators are not supported for user-owned Copilot Spaces. OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.
username path required
The handle for the GitHub user account.
string
space_number path required
The unique identifier of the Copilot Space.
integer

Try it

Authentication
Configure credentials for GitHub v3 REST API
copilotSpaces.listCollaboratorsForUser
GET/users/{username}/copilot-spaces/{space_number}/collaborators
Lists all collaborators for a specific Copilot Space owned by a user. The authenticated user must be the owner of the space or have admin access to the space. Each collaborator entry specifies which user has access to the space and at what level (reader, writer, or admin). The space owner is excluded from this list. Team collaborators are not supported for user-owned Copilot Spaces. OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.

Parameters

required

The handle for the GitHub user account.

required

The unique identifier of the Copilot Space.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.copilotSpaces.listCollaboratorsForUser()