Bulk delete control owners by control ids and owner ids

Bulk delete control owners

Securitybearer
Request
Request Body schema: application/json
required
ownerIds
required
Array of numbers

Array of owner ids

controlIds
required
Array of numbers

Array of control ids

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

delete/controls/owners
Request samples
application/json
{
  • "ownerIds": [
    • 1,
    • 2,
    • 3
    ],
  • "controlIds": [
    • 1,
    • 2,
    • 3
    ]
}
Response samples
application/json
{
  • "data": [
    • {
      • "id": 1,
      • "entryId": "aaaaaaaa-bbbb-0000-cccc-dddddddddddd",
      • "email": "[email protected]",
      • "firstName": "Sally",
      • "lastName": "Smith",
      • "jobTitle": "CEO",
      • "drataTermsAgreedAt": "2025-07-01T16:45:55.246Z",
      • "createdAt": "2025-07-01T16:45:55.246Z",
      • "updatedAt": "2025-07-01T16:45:55.246Z"
      }
    ],
  • "page": 1,
  • "limit": 10,
  • "total": 100
}