Subcommands
Legal

RequestList

List Requests

Usage

ionosctl request list [flags]

Aliases

For request command:

[req]

For list command:

[l ls]

Description

Use this command to list all Requests on your account.

Use flags to retrieve a list of Requests:

  • sorting by the time the Request was created, starting from now in descending order, take the first N Requests: ionosctl request list --latest N

  • sorting by method: ionosctl request list --method REQUEST_METHOD, where request method can be CREATE or POST, UPDATE or PATCH, PUT and DELETE

  • sorting by both of the above options: ionosctl request list --method REQUEST_METHOD --latest N

Options

-u, --api-url string Override default host url (default "https://api.ionos.com")
--cols strings Set of columns to be printed on output
Available columns: [RequestId CreatedDate CreatedBy Method Status Message Url Body Targets] (default [RequestId,CreatedDate,Method,Status,Message,Targets])
-c, --config string Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
-f, --force Force command to execute without user input
-h, --help Print usage
--latest int Show latest N Requests. If it is not set, all Requests will be printed
--method string Show only the Requests with this method. E.g CREATE, UPDATE, DELETE
-o, --output string Desired output format [text|json] (default "text")
-q, --quiet Quiet output
-v, --verbose Print step-by-step process when running command

Examples

ionosctl request list --latest N