Gets a Let's Encrypt certificate for *.<edge domain> with a DNS-01
challenge in the team's Cloudflare connection, and puts it on the
server, whose edge serves it at once. It runs in the background: the
server's edge.cert.state says how it goes. Pyo renews it 30 days
before it runs out. Also renews it now. The zone must be connected and
editable. Team owners and admins, or the installation's admin for its
own servers.
API key access: full.
apiKeyAuthorizationBearer <pyo_…>An API key from the dashboard's API keys page: Authorization: Bearer pyo_…. Keys can expire, and an expired one gets a 401.
id*stringThe sandbox server's id, sbs_….
application/jsonteamId?|The team whose Cloudflare connection to use, for one of the installation's servers. A team's own server always uses its team's.
state: "issuing".
application/jsoncurl -X POST 'https://your-pyo.example.com/api/v1/sandbox-servers/string/certificate' \
-H 'Content-Type: application/json' \
-d '{}'{}