Bulk delete control owners by control ids and owner ids

Bulk delete control owners

Securitybearer
Request
Request Body schema: application/json
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

403

You are not allowed to perform this action

404

Record Not Found

500

Internal server error

default

Response Code: 412

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

delete/public/controls/owners
Request samples
application/json
{
  • "ownerIds": [
    • 1,
    • 2,
    • 3
    ],
  • "controlIds": [
    • 1,
    • 2,
    • 3
    ]
}
Response samples
application/json
{
  • "data": [
    • { }
    ],
  • "page": 1,
  • "limit": 10,
  • "total": 100
}