403
response.Content-Length
to zero when calling out to this endpoint. For more information, see "HTTP verbs."curl --location --request PUT 'https://api.github.com/users//suspended' \
--header 'Content-Type: application/json' \
--data-raw '{
"reason": "string"
}'
{}
Authorization: Bearer ********************
reason
, it will default to "Suspended via API by SITE_ADMINISTRATOR", where SITE_ADMINISTRATOR is the person who performed the action.【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通