enpxio auth login¶
To use the EnPowerX APIs you have to use device code flow or client credential flow to authenticate against the APIs. If you don't have any yet, let us know.
Synopsis¶
enpxio auth login
COMMAND
Commands¶
COMMAND
is one of the following:
device
- Log in to an account using the device code flow.
client-credentials
- Log in to an account using the client credential flow.
Examples¶
To login with device code flow call
enpxio auth login device $CLIENT_ID
To login with client credential flow call
enpxio auth login client-credentials $CLIENT_ID