Trigger GitOps sync
POST
/operations/gitops/{id}/sync
const url = 'https://shoehorn.example.com/api/v1/operations/gitops/example/sync';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://shoehorn.example.com/api/v1/operations/gitops/example/syncSends a sync command to the agent managing this resource.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”Sync command queued