admin
permissions for the project. The project and team must be part of the same organization.org_id
and team_id
using the route PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}
.curl --location --request PUT 'https://api.github.com/orgs//teams//projects/' \
--header 'Content-Type: application/json' \
--data-raw '{
"permission": "write"
}'
{}
permission
attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set Content-Length
to zero when calling this endpoint. For more information, see "HTTP verbs."