cURL
curl --request POST \ --url https://api.mudstack.com/workspaces/import/commit/complete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-account-id: <x-account-id>' \ --header 'x-workspace-id: <x-workspace-id>' \ --data ' { "sync_commit_id": "<string>" } '
{ "success": true, "commit_id": "<string>" }
Complete a commit for the import. Requires workspace_id, sync_commit_id.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The sync commit ID
The result of the completed commit
Indicates if the commit was successfully completed
The ID of the completed commit
Was this page helpful?