devguard

Entitlement review itemsId

Update an entitlement review item by id.

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

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

reviewedAt?|
reviewedBy?|
accessGranted?|
accessRevoked?|
expectedAction?string
Default"VERIFY"
Value in"GRANT_ACCESS" | "REVOKE_ACCESS" | "VERIFY"
actualStatus?string
Default"PENDING"
Value in"PENDING" | "IN_PROGRESS" | "COMPLETED" | "SKIPPED" | "REQUIRES_ATTENTION"
organizationId?string
entitlementReviewId?string
assetId?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.devguard.ch/api/entitlement-review-items/string/" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "reviewedAt": "string",
  "reviewedBy": "string",
  "accessGranted": true,
  "accessRevoked": true,
  "expectedAction": "GRANT_ACCESS",
  "actualStatus": "PENDING",
  "organizationId": "string",
  "entitlementReviewId": "string",
  "assetId": "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?