cURL
curl --request PATCH \ --url https://api.example.com/api/v1/commits/{commit_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "is_public": true } '
{ "commit_id": "<string>", "created_at": "<string>", "is_public": true, "name": "<string>", "owner_id": "<string>", "description": "<string>", "grandparent_commit_id": "<string>", "parent_vm_id": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The commit ID
Request body for PATCH /commits/{commit_id}
Commit updated