Update evidence sync by evidence id and workspace id

Update evidence sync

🔒 Requires Evidence Library: Update Evidence permission.

Securitybearer
Request
path Parameters
id
required
number
workspaceId
required
number

The Workspace ID associated to the Account

Request Body schema: application/json
required
safeBaseSyncStatus
required
string

The SafeBase sync status of the document

Enum: "NOT_SYNCED" "PENDING" "COMPLETE" "ERROR"
safeBaseDocumentId
string or null

The Safebase document ID

Responses
200
400

Malformed data and/or validation errors

401

Invalid Authorization

402

You must upgrade your plan to use this feature

403

You are not allowed to perform this action

404

Not Found

412

You must accept the Drata terms and conditions to use the API

500

Internal server error

put/workspaces/{workspaceId}/evidence-library/sync/{id}
Request samples
application/json
{
  • "safeBaseSyncStatus": "COMPLETE",
  • "safeBaseDocumentId": "1234"
}
Response samples
application/json
{
  • "id": 1
}