devguard
Vendor questionnairesId

Update a vendor questionnaire by id.

PATCH
/vendor-questionnaires/{id}/

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

id*string

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

application/json

curl -X PATCH "https://example.com/vendor-questionnaires/497f6eca-6276-4993-bfeb-53cbbbba6f08/" \  -H "Content-Type: application/json" \  -d '{    "organizationId": "string"  }'
{
  "id": "string",
  "slug": "string",
  "name": "string",
  "description": "string",
  "translations": null,
  "isCentralized": true,
  "archivedAt": "string",
  "organizationId": "string",
  "createdAt": "string",
  "updatedAt": "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?