Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 911 Bytes

api.md

File metadata and controls

39 lines (26 loc) · 911 Bytes
title
Netlify CLI api command

api

The api command will let you call any Netlify open API methods

Run any Netlify API method For more information on available methods checkout https://open-api.netlify.com/ or run 'netlify api --list'

Usage

netlify api

Arguments

  • apiMethod - Open API method to run

Flags

  • data (string) - Data to use
  • debug (boolean) - Print debugging information
  • http-proxy (string) - Proxy server address to route requests through.
  • http-proxy-certificate-filename (string) - Certificate file to use when connecting using a proxy server
  • list (boolean) - List out available API methods

Examples

netlify api --list
netlify api getSite --data '{ "site_id": "123456" }'