Miscellaneous

Other commands and utilities.

Table of Contents

create-authentication-request

create-authentication-request command

API Information

Endpoint: POST /api/StoredProcedure/CreateAuthenticationRequest

Authentication: Required (token-based with Rediacc-RequestToken header)

Parameters

ParameterTypeRequiredDefaultDescriptionExample
namestringYes-
tFACodestringYes-
requestedPermissionsstringYes-
tokenExpirationHoursintegerYes-
targetstringYes-

Examples

Auto-Generated CLI Examples
# Basic usage (required parameters only)
rediacc misc create-authentication-request
Auto-Generated cURL Examples
# Using token authentication
curl -X POST "https://www.rediacc.com/api/StoredProcedure/CreateAuthenticationRequest" \
  -H "Content-Type: application/json" \
  -H "Rediacc-RequestToken: YOUR_TOKEN_HERE" \
  -d '{
    "name": "example-name",
    "tFACode": "example-t_f_a_code",
    "requestedPermissions": "example-requested_permissions"
}'

delete-user-request

delete-user-request command

API Information

Endpoint: POST /api/StoredProcedure/DeleteUserRequest

Authentication: Required (token-based with Rediacc-RequestToken header)

Parameters

No parameters required.

Examples

Auto-Generated CLI Examples
# Basic usage (required parameters only)
rediacc misc delete-user-request
Auto-Generated cURL Examples
# Using token authentication
curl -X POST "https://www.rediacc.com/api/StoredProcedure/DeleteUserRequest" \
  -H "Content-Type: application/json" \
  -H "Rediacc-RequestToken: YOUR_TOKEN_HERE" \
  -d '{}'

fork-authentication-request

fork-authentication-request command

API Information

Endpoint: POST /api/StoredProcedure/ForkAuthenticationRequest

Authentication: Required (token-based with Rediacc-RequestToken header)

Parameters

ParameterTypeRequiredDefaultDescriptionExample
childNamestringYes-
tokenExpirationHoursintegerYes-

Examples

Auto-Generated CLI Examples
# Basic usage (required parameters only)
rediacc misc fork-authentication-request
Auto-Generated cURL Examples
# Using token authentication
curl -X POST "https://www.rediacc.com/api/StoredProcedure/ForkAuthenticationRequest" \
  -H "Content-Type: application/json" \
  -H "Rediacc-RequestToken: YOUR_TOKEN_HERE" \
  -d '{
    "childName": "example-child_name",
    "tokenExpirationHours": 100
}'

is-registered

is-registered command

API Information

Endpoint: POST /api/StoredProcedure/IsRegistered

Authentication: Required (token-based with Rediacc-RequestToken header)

Parameters

ParameterTypeRequiredDefaultDescriptionExample
userNamestringYes-

Examples

Auto-Generated CLI Examples
# Basic usage (required parameters only)
rediacc misc is-registered
Auto-Generated cURL Examples
# Using token authentication
curl -X POST "https://www.rediacc.com/api/StoredProcedure/IsRegistered" \
  -H "Content-Type: application/json" \
  -H "Rediacc-RequestToken: YOUR_TOKEN_HERE" \
  -d '{
    "userName": "example-user_name"
}'

Success Message

Operation completed successfully

promote-repository-to-grand

promote-repository-to-grand command

API Information

Endpoint: POST /api/StoredProcedure/PromoteRepositoryToGrand

Authentication: Required (token-based with Rediacc-RequestToken header)

Parameters

ParameterTypeRequiredDefaultDescriptionExample
teamstringYes-
repoNamestringYes-

Examples

Auto-Generated CLI Examples
# Basic usage (required parameters only)
rediacc misc promote-repository-to-grand
Auto-Generated cURL Examples
# Using token authentication
curl -X POST "https://www.rediacc.com/api/StoredProcedure/PromoteRepositoryToGrand" \
  -H "Content-Type: application/json" \
  -H "Rediacc-RequestToken: YOUR_TOKEN_HERE" \
  -d '{
    "team": "example-team",
    "repoName": "example-repo_name"
}'

update-image-machine-assignment

update-image-machine-assignment command

API Information

Endpoint: POST /api/StoredProcedure/UpdateImageMachineAssignment

Authentication: Required (token-based with Rediacc-RequestToken header)

Parameters

ParameterTypeRequiredDefaultDescriptionExample
imagestringYes-
poolstringYes-
teamstringYes-
newNamestringYes-

Examples

Auto-Generated CLI Examples
# Basic usage (required parameters only)
rediacc misc update-image-machine-assignment
Auto-Generated cURL Examples
# Using token authentication
curl -X POST "https://www.rediacc.com/api/StoredProcedure/UpdateImageMachineAssignment" \
  -H "Content-Type: application/json" \
  -H "Rediacc-RequestToken: YOUR_TOKEN_HERE" \
  -d '{
    "image": "example-image",
    "pool": "example-pool",
    "team": "example-team"
}'

Success Message

Operation completed successfully

update-user-vault

update-user-vault command

API Information

Endpoint: POST /api/StoredProcedure/UpdateUserVault

Authentication: Required (token-based with Rediacc-RequestToken header)

Parameters

ParameterTypeRequiredDefaultDescriptionExample
vaultstringNo-
vaultVersionstringNo-

Examples

Auto-Generated CLI Examples
# Basic usage (required parameters only)
rediacc misc update-user-vault
Auto-Generated cURL Examples
# Using token authentication
curl -X POST "https://www.rediacc.com/api/StoredProcedure/UpdateUserVault" \
  -H "Content-Type: application/json" \
  -H "Rediacc-RequestToken: YOUR_TOKEN_HERE" \
  -d '{
    "vault": "example-vault",
    "vaultVersion": "example-vault_version"
}'

update-user2-f-a

update-user2-f-a command

API Information

Endpoint: POST /api/StoredProcedure/UpdateUserTFA

Authentication: Required (token-based with Rediacc-RequestToken header)

Parameters

ParameterTypeRequiredDefaultDescriptionExample
enablestringYes-
userHashstringYes-
currentCodestringYes-
generateOnlybooleanYes-
verificationCodestringYes-
secretstringYes-
confirmEnablebooleanYes-

Examples

Auto-Generated CLI Examples
# Basic usage (required parameters only)
rediacc misc update-user2-f-a
Auto-Generated cURL Examples
# Using token authentication
curl -X POST "https://www.rediacc.com/api/StoredProcedure/UpdateUserTFA" \
  -H "Content-Type: application/json" \
  -H "Rediacc-RequestToken: YOUR_TOKEN_HERE" \
  -d '{
    "enable": "example-enable",
    "userHash": "example-user_hash",
    "currentCode": "example-current_code"
}'