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": "read"
}'
{}
Authorization: Bearer ********************
【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通