Share feedback
Answers are generated based on the documentation.

sbx policy approval respond

DescriptionRespond to a pending approval
Usagesbx policy approval respond APPROVAL-ID --option OPTION-ID [flags]

Description

Respond to a pending approval using one of its offered options.

Use "sbx policy approval inspect APPROVAL-ID" to review the request and option IDs before responding. An approval that has already been answered or is no longer pending cannot be answered again.

After granting access, retry the blocked operation.

Options

OptionDefaultDescription
--optionOption ID offered by the approval

Global options

OptionDefaultDescription
--cloudDispatch to Docker Cloud Sandboxes API instead of local sandboxd (supported by a growing set of verbs — run 'sbx --cloud --help' for the current list)
-D, --debugEnable debug logging
--no-inputNever prompt; commands that need an answer fail with the command to run instead

Examples

sbx policy approval inspect APPROVAL-ID
sbx policy approval respond APPROVAL-ID --option OPTION-ID