Add control owners by control id

Add control owners

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

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

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