account:manageauth
Manages authentication IDs for all your projects.
Syntax
suitecloud account:manageauth [--info myNetSuiteDevRole] [--rename myNetSuiteDevRole --renameto myOtherNetSuiteDevRole] [--remove myNetSuiteDevRole]
Options
Option |
Required / Optional |
Description |
--info |
Optional |
Prints the following information for the specified authentication ID: account ID, role ID, and domain. For example, |
-i or --interactive |
Optional |
Runs the command in interactive mode. |
--list |
Optional |
Prints a list of all the configured authentication IDs. For example, |
--remove |
Optional |
Removes an authentication ID. The tokens aren't revoked in the account. For example, |
--rename |
Optional |
Renames an authentication ID. You have to use it with the For example, |
--renameto |
Optional |
Specifies the new ID for an authentication ID. You have to use it with the For example, |
-h or --help |
Optional |
Prints the help for this command. |
Interactive Example
Here's a command that lets you view and edit your authentication IDs in interactive mode:
suitecloud account:manageauth -i
Before you run the command, you are prompted with these questions:
Select an authentication ID to see its details:
(*) myAdminDRole | Admin - companyName
( ) myDevRole | Developer - companyName
myNetSuiteDevRole authentication ID information: Authentication ID: myAdminDRole Account Name: My Company Account ID: accountID Role: Admin Domain: netsuite.com Account Type: Production
Select one of the following actions: > Rename the authentication ID. Remove the authentication ID. Exit the process.
Enter a new name for the authentication ID: adminRoleAuthId
Non-interactive Example
Here's a command that removes an authentication ID in non-interactive mode:
suitecloud account:manageauth --remove myNetSuiteDevRole
Output Example
When you finish answering the questions prompted by the interactive command, the command produces output that is similar to the following:
The authentication ID adminRoleAuthId was successfully updated.