redaction-policies

Activate or roll back to a policy version using CAS

Changed on

Revalidates the stored snapshot and changes ACTIVE only when expectedActiveVersion matches. null means that no ACTIVE version is expected. Required scope: policy:redaction:manage.

post/redaction/policies/{name}/versions/{version}/activate

Request

  • Base URL
    https://developer.qaip.com/api/v1
  • Auth
    API key in header x-api-key

Request body

expectedActiveVersionstring nullable required

null requires that no ACTIVE version currently exists.

Response

Version is ACTIVE

namestring required
source'BUILT_IN' | 'TENANT' required
versionstring required
status'DRAFT' | 'ACTIVE' | 'ARCHIVED' required
schemaVersioninteger required
descriptionstring nullable required
contentDigeststring required
createdAtstring date-time nullable required
activatedAtstring date-time nullable required
archivedAtstring date-time nullable required

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      endpoint added