PolicyVersion

Undeletes a policy version

Changed on
post/policy/{packageName}/version/{version}/undelete

Request

  • Base URL
    https://api.heyvincent.ai
  • URL
    https://api.heyvincent.ai/policy/{packageName}/version/{version}/undelete
  • Auth
    API key in header Authorization

Path parameters

packageNamestring required

The NPM package name

versionstring required

NPM semver of the target policy version

Response

OK - Resource successfully undeleted

messagestring required

Success message

Example response

{
  "message": "Successfully deleted"
}

Changes

    • info

      the endpoint scheme security siweAuth was added to the API

    • info

      the endpoint scheme security bearerAuth was removed from the API

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security siweAuth was removed from the API