cURL
curl --request POST \ --url https://api.sevalla.com/v2/static-sites/deployments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "static_site_id": "fb5e5168-4281-4bec-94c5-0d1584e9e657", "branch": "main" } '
{ "deployment": { "id": "fb5e5168-4281-4bec-94c5-0d1584e9e657", "status": "success" } }
Manually or programmatically deploy a static site.
API key authentication. Pass your API key as a Bearer token in the Authorization header.
ID of the static site to deploy
"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Git branch to deploy
1
"main"
Default Response
Show child attributes
Was this page helpful?