API by router
Lifecycle
POST
instance_id*Instance IdFormat
uuidapplication/json- body
csr_pem*Csr PemLength
100 <= length <= 10000wg_public_key*Wg Public KeySuccessful Response
application/json- response
cert_pem*Cert Pemcert_serial*Cert Serialexpires_at*Expires Atcurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/cert/renew' \ -H 'Content-Type: application/json' \ -d '{ "csr_pem": "stringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstringstri", "wg_public_key": "string"}'Example Response
{ "cert_pem": "string", "cert_serial": "string", "expires_at": "string"}POST
instance_id*Instance IdFormat
uuidapplication/json- body
vpn_ip*Vpn IpMatch
^10\.\d{1,3}\.\d{1,3}\.\d{1,3}$wg_public_key*Wg Public KeySuccessful Response
application/json- response
agent_secrets*curl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/secrets/refresh' \ -H 'Content-Type: application/json' \ -d '{ "vpn_ip": "string", "wg_public_key": "string"}'Example Response
{ "agent_secrets": {}}