copilot-spaces
Set a resource for a Copilot Space for a user
Updates the metadata of a resource in a specific Copilot Space owned by a user. The authenticated user must have write permissions on the space.
OAuth app tokens and personal access tokens (classic) need the write:user scope to use this endpoint.
put/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/users/{username}/copilot-spaces/{space_number}/resources/{space_resource_id}
- Auth: none declared
Path parameters
usernamestring required
The handle for the GitHub user account.
space_numberinteger required
The unique identifier of the Copilot Space.
space_resource_idinteger required
The unique identifier of the resource.
Request body
Response
Response
Changes
No recorded changes to this operation across all 23 revisions of this API.