update static hosting environment
Authentication: required
curl --request POST \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/static_host/{static_host}/build/{build_id}/env \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"env": "prod"
}'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
prod, dev Success!
The response is of type object.
Was this page helpful?
curl --request POST \
--url https://your-xano-instance.xano.io/api:meta/workspace/{workspace_id}/static_host/{static_host}/build/{build_id}/env \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"env": "prod"
}'{}