cURL
curl --request POST \ --url http://localhost:8080/api/settings/github \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "app_id": 123, "webhook_secret": "<string>", "pem_content": "<string>" } '
{ "configured": true, "pem_uploaded": true, "app_id": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response