devguard

Asset review itemsId

Update a asset review by id.

PATCH
/asset-review-items/{id}/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

reviewedAt?|
reviewedBy?|
approved?|
organizationId*string
assetReviewId*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.devguard.ch/api/asset-review-items/string/" \  -H "Content-Type: application/json" \  -d '{    "organizationId": "string",    "assetReviewId": "string"  }'
{
  "id": "string",
  "reviewedAt": "string",
  "reviewedBy": "string",
  "approved": true,
  "snapshot": {
    "property1": null,
    "property2": null
  },
  "organizationId": "string",
  "assetReviewId": "string"
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

How is this guide?