Skip to main content
POST
/
v1
/
policies
/
{id}
/
controls
Map controls to a policy
curl --request POST \
  --url http://localhost:3333/v1/policies/{id}/controls \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "controlIds": [
    "<string>"
  ]
}
'

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

id
string
required

Policy ID

Example:

"pol_abc123def456"

Body

application/json
controlIds
string[]
required

Response

201 - undefined