Add control owners by control id

Add control owners

Securitybearer
Request
path Parameters
id
required
number
Request Body schema: application/json
required
ownerIds
required
Array of numbers

Array of owner 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

500

Internal server error

default

Response Code: 412

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

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