403
response. Active Directory LDAP-authenticated users cannot be unsuspended using the API.curl --location --request DELETE 'https://api.github.com/users//suspended' \
--header 'Content-Type: application/json' \
--data-raw '{
"reason": "string"
}'
{}
Authorization: Bearer ********************
reason
, it will default to "Unsuspended via API by SITE_ADMINISTRATOR", where SITE_ADMINISTRATOR is the person who performed the action.【GitHub】API开发者 微信交流群
用微信扫右侧二维码,加入【GitHub】API开发者 交流群,互助沟通