Post enable
POST /api/v1/compliance/controls/{id}/enable
Read or update compliance controls and compliance pack data for the authenticated organization.
Authenticate with a portal session token.
Parameters
idstring path required
Request body (optional)
application/json OrggrcComplianceEnableControl
pack_slugstring or nullLength: at most 80 characters. Example:"soc2-lite"
Example
{
"pack_slug": "soc2-lite"
}Responses
200 Operation completed successfully.
application/json object
Any keys are accepted.
401 Authentication is required or invalid.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
403 The authenticated user is not permitted to perform this operation.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
404 The requested resource was not found.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
422 The request failed validation.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
429 The request was rate limited.
application/json ErrorWithCode
error_codestring requiredmessagestring requiredrequest_idstring (uuid)statusstring requiredExample:"error"
text/html string