client_id
and client_secret
as the username and password. You must also provide a valid OAuth access_token
as an input parameter and the grant for the token's owner will be deleted.curl --location --request DELETE 'https://api.github.com/applications/Iv1.8a61f9b3a7aba766/grant' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token": "e72e16c7e42f292c6912e7710c838347ae178b4a"
}'
{}