devguard
Controls

Create a new user-defined control.

POST
/controls/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/controls/" \  -H "Content-Type: application/json" \  -d '{    "identifier": "string",    "name": "string",    "purpose": "string",    "description": null,    "isMandatory": true,    "parentId": "string",    "frameworkId": "string",    "organizationId": "string"  }'
{  "id": "string",  "identifier": "string",  "name": "string",  "slug": "string",  "type": "CATEGORY",  "purpose": "string",  "description": null,  "isMandatory": true,  "parentId": "string",  "frameworkId": "string",  "isCentralized": true,  "createdAt": "string",  "updatedAt": "string"}

How is this guide?