cURL
curl --request POST \ --url {schemes}://api.upsun.com/projects/{projectId}/system/restart \ --header 'Authorization: Bearer <token>'
{ "status": "<string>", "code": 123 }
Force the Git server to restart.
A valid request URL is required to generate request examples
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The status text of the response
The status code of the response
Was this page helpful?