Skip to Content
devguard

Draft a change for a person to accept. No live record changes until then.

POST
/proposals/

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/proposals/" \  -H "Content-Type: application/json" \  -d '{    "organizationId": "string",    "kind": "RISK_ASSESSMENT",    "payload": {      "property1": null,      "property2": null    }  }'
{  "id": "string",  "shortId": -9007199254740991,  "organizationId": "string",  "kind": "RISK_ASSESSMENT",  "status": "PENDING",  "targetId": "string",  "payload": null,  "baseState": null,  "rationale": "string",  "proposedByUserId": "string",  "proposedByName": "string",  "actorType": "BROWSER",  "clientId": "string",  "clientName": "string",  "clientTrust": "string",  "clientHost": "string",  "scopes": [    "string"  ],  "tool": "string",  "requestId": "string",  "decidedByUserId": "string",  "decidedByMemberId": "string",  "decidedByName": "string",  "decidedAt": "string",  "decisionNote": "string",  "appliedEntityId": "string",  "createdAt": "string",  "updatedAt": "string",  "decideAt": "string"}

How is this page?