Websites - Protected

Protected List Nginx Configs

List all Nginx configs on the server. Admin endpoint - lists all configs regardless of company. Requires system_admin (ticket #445): this returns every tenant's domains/SSL state server-wide, so it must not be reachable by a merely-authenticated user. Sibling deploy/remove endpoints stay tenant-scoped via get_website_by_id_and_company and need no extra gate.

get/api/nginx/configs

Request

  • Base URL
    https://api.multigest.pt (the document declares no server; this is the origin it was published from)
  • URL
    https://api.multigest.pt/api/nginx/configs
  • Auth
    API key in header x-api-token and API key in header x-origin-verify

Headers

x-api-tokenstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 21 revisions of this API.