devguard

FrameworksAdopt

Adopt a framework for the organization.

POST
/frameworks/adopt/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Request Body

application/json

frameworkId*string
notes?string
organizationId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.devguard.ch/api/frameworks/adopt/" \  -H "Content-Type: application/json" \  -d '{    "frameworkId": "string",    "organizationId": "string"  }'
{
  "id": "string",
  "frameworkId": "string",
  "organizationId": "string",
  "adoptedAt": "string",
  "adoptedBy": "string",
  "notes": "string"
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

How is this guide?