copilot-spaces
Remove a collaborator from a Copilot Space for a user
Removes a collaborator from 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.
OAuth app tokens and personal access tokens (classic) need the user scope to use this endpoint.
delete/users/{username}/copilot-spaces/{space_number}/collaborators/{actor_type}/{actor_identifier}
Path parameters
usernamestring required
The handle for the GitHub user account.
space_numberinteger required
The unique identifier of the Copilot Space.
actor_type'User' | 'Team' required
The type of actor (must be User for user-owned spaces; Team will be rejected).
actor_identifierstring required
The username of the collaborator. The numeric user ID is also accepted.
Response
Response