Add Flow Staging Information for a Pre-Approval
POST/vedsdk/codesign/AddPreApproval
Applies a Flow pre-approval for private key use. The Pre-Approval, which is defined in VCC, temporarily overrides and disables any existing approval stages that prevent private key use. Pre-Approval only disables approval stages if the Key Use Flow is configured with a CodeSign Protect Pre-Approval action.
NOTE If you are working with real-time Flow Tickets (for example, a request that is pending approval), use the Flow API instead.
Prerequisites: Each project uses an environment template. In VCC, configure a Key Use Flow that contains a Pre-Approval action. Before calling AddPreApproval, make sure the flow is assigned to the template, For more information, see Configure Code Signing Flows.
Permissions:
Required scope: codesign:approve
Request
Responses
- 200
- 400
- 401
- 403
Success
Missing or invalid request property.
A valid access token is required.
The API requires a scope not granted to the provided access token