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

Response Code 402

You must pay to activate this feature

403

You are not allowed to perform this action

404

Record Not Found

412

Response Code: 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": [],
  • "page": 1,
  • "limit": 10,
  • "total": 100
}