Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ Koo Command Line Interface/ User Guide/ Options/ Calling APIs with a Token in Non-configuration Mode

Calling APIs with a Token in Non-configuration Mode

Updated on 2023-02-27 GMT+08:00

Add --cli-x-auth-token in a command to call a cloud service API with a token in non-configuration mode. When you use a command prompt tool (such as cmd.exe) to run the following command, the command line may be incomplete if the value of cli-x-auth-token is too long. Therefore, check whether the command line content is complete before executing a command.

hcloud ECS ListServersDetails --cli-region="eu-west-101" --project_id="2cc60f5****************efa5019ef" --enterprise_project_id="441d5677-****-****-****-ef7fd6336666" --cli-x-auth-token=******
{
  "count": 0,
  "servers": []
}
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback