Skip to main content
PUT
/
v1
/
trust-portal
/
custom-frameworks
Enable/disable a custom framework on the trust portal and set its status
curl --request PUT \
  --url https://api.trycomp.ai/v1/trust-portal/custom-frameworks \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "customFrameworkId": "<string>",
  "enabled": true
}
'

Authorizations

X-API-Key
string
header
required

API key for authentication

Body

application/json

At least one of enabled or status must be provided.

customFrameworkId
string
required
Minimum string length: 1
enabled
boolean
required
status
enum<string>
Available options:
started,
in_progress,
compliant

Response

200 - undefined