POST
/
workspaces
/
import
/
commit
/
complete
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-account-id
string
required
x-workspace-id
string
required

Body

application/json
sync_commit_id
string

The sync commit ID

Response

200 - application/json
The result of the completed commit
success
boolean

Indicates if the commit was successfully completed

commit_id
string

The ID of the completed commit