Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.provisionr.io/llms.txt

Use this file to discover all available pages before exploring further.

Usage

prv workspace-user:restore [options]

Aliases

You can also use these shorthand aliases:
  • prv wsusr:restore

Options

OptionDescription
-i, --id[=<value>]The ULID of the user
--rolesExisting permission roles should be restored
--no_rolesExisting permission roles should be revoked and baseline roles granted
-F, --forceConfirm that you want to restore the user
--api(Debug) Show the API endpoint and query string in the command header

Examples

Restore user with previous roles

prv workspace-user:restore --id=wsusr_01hq8xyzabc123def456ghi789 --roles

Restore user with baseline roles

prv workspace-user:restore --id=wsusr_01hq8xyzabc123def456ghi789 --no_roles

Force restore without confirmation

prv workspace-user:restore --id=wsusr_01hq8xyzabc123def456ghi789 --roles --force