tdx users#

Manage people and their role assignments.

List, show, change a role in one place, disable and enable people. Removal is explicitly unavailable; there is no DELETE user route. See People and role commands.

Every command also takes the global flags and reads the environment variables that the command reference lists once.

Commands#

CommandDescriptionType
tdx users listList people.Read
tdx users showRead a person.Read
tdx users enableEnable a person.Write
tdx users disableDisable a person.Write
tdx users roleReplace roles in one place with a role.Write
tdx users removeUnavailable: offboarding requires an interactive session.Not available yet

tdx users list#

List people.

Reads

Requires users.read. Read one gateway page; hasMore and nextCursor expose truncation without automatic pagination. See People and role commands.

Shell
# GET /control/v1/users
tdx users list [flags]

Output fields (inside data)

FieldTypeDescription
usersmasked-route-dataGateway data after mandatory CLI masking; █ marks masked values.
hasMoremasked-route-dataGateway data after mandatory CLI masking; █ marks masked values.
nextCursormasked-route-dataGateway data after mandatory CLI masking; █ marks masked values.
noticestringPresent instead of data when masking withholds the entire result.

tdx users show#

Read a person.

Reads

Requires users.read or self visibility (your own user). See People and role commands.

Shell
# GET /control/v1/users/:userId
tdx users show --id <string> [flags]

Required flags

FlagTypeDefaultDescription
--idstringPublic resource id; never a credential.

Output fields (inside data)

FieldTypeDescription
usermasked-route-dataGateway data after mandatory CLI masking; █ marks masked values.
noticestringPresent instead of data when masking withholds the entire result.

tdx users enable#

Enable a person.

Writes

Requires install-wide users.manage. See People and role commands.

Shell
# POST /control/v1/users/:userId/enable
tdx users enable --id <string> [flags]

Required flags

FlagTypeDefaultDescription
--idstringPublic resource id; never a credential.

Output fields (inside data)

FieldTypeDescription
usermasked-route-dataGateway data after mandatory CLI masking; █ marks masked values.
previewwrite-preview|nullRequested method, path and body only, with no diff and unchecked by the gateway; null after execution.
noticestringPresent instead of data when masking withholds the entire result.

tdx users disable#

Disable a person.

Writes

Requires install-wide users.manage. See People and role commands.

Shell
# POST /control/v1/users/:userId/disable
tdx users disable --id <string> [flags]

Required flags

FlagTypeDefaultDescription
--idstringPublic resource id; never a credential.

Output fields (inside data)

FieldTypeDescription
usermasked-route-dataGateway data after mandatory CLI masking; █ marks masked values.
previewwrite-preview|nullRequested method, path and body only, with no diff and unchecked by the gateway; null after execution.
noticestringPresent instead of data when masking withholds the entire result.

tdx users role#

Replace roles in one place with a role.

Writes

Requires users.manage in the selected place. PUT sends one assignment and explicitly names its place (install scope by default, or --workspace-id). This replaces the caller-managed roles IN THAT PLACE, not roles elsewhere; IdP-managed roles and server subset/last-owner rules remain in force. No concurrency precondition or current-state diff is inferred. See People and role commands.

Shell
# PUT /control/v1/users/:userId/role-assignments
tdx users role --id <string> --role-id <string> [flags]

Required flags

FlagTypeDefaultDescription
--idstringPublic resource id; never a credential.
--role-idstringPublic role id from the gateway.

Optional flags

FlagTypeDefaultDescription
--workspace-idstringLimit replacement to this workspace; omitted means install scope.

Output fields (inside data)

FieldTypeDescription
usermasked-route-dataGateway data after mandatory CLI masking; █ marks masked values.
previewwrite-preview|nullRequested method, path and body only, with no diff and unchecked by the gateway; null after execution.
noticestringPresent instead of data when masking withholds the entire result.

tdx users remove#

Unavailable: offboarding requires an interactive session.

Not available yet. Running it exits 7 with NOT_IMPLEMENTED.

There is NO DELETE user route. Removal is terminal POST deprovision from a reviewed offboarding plan, session-only with step-up and possible one-shot credential transfers. This CLI cannot execute it. Use the dashboard; no request, authentication or profile read is attempted. Dry-run shows only the route with body null (the required reviewed decisions are unavailable), never a fake deletion. See People and role commands.

Shell
# GET /control/v1/users/:userId/offboarding
# POST /control/v1/users/:userId/deprovision
tdx users remove --id <string> [flags]

Required flags

FlagTypeDefaultDescription
--idstringPublic resource id; never a credential.

Output fields (inside data)

FieldTypeDescription
previewwrite-preview|nullRequested method, path and body only, with no diff and unchecked by the gateway; null after execution.
noticestringPresent instead of data when masking withholds the entire result.