Skip to main content

plivo api

For any endpoint the CLI doesn’t yet have a command for. Uses your profile or environment credentials, supports --dry-run, returns the same JSON and error envelopes, and requires --yes for POST, PUT, PATCH, and DELETE. Account-scoped paths can be given relative to /v1/Account/<auth_id>/.
Command:
Flags
  • --body <string>: request body: literal JSON, @path/to/file, or @- for stdin
  • --header <stringArray>: extra header as ‘Key: Value’ (repeatable; overrides defaults)
  • --method <string>: HTTP method (alternative to the positional arg; useful when piping)
  • --query <stringArray>: query param as key=value (repeatable)