sites

Issue a new deploy token for a site. The old one stops working immediately.

A deploy token is scoped to one site and can only redeploy it — that is what the GitHub Action and harvis link use. An account key does strictly more; this exists for handing a single site to something you would rather not trust with the account.

post/api/v1/sites/{id}/deploy-token

Request

  • Base URL: https://harvis.dev
  • URL: https://harvis.dev/api/v1/sites/{id}/deploy-token
  • Auth: one of:
    • HTTP bearer
    • API key in cookie better-auth.session_token

Path parameters

idstring required

Response

Issue a new deploy token for a site. The old one stops working immediately.

deployTokenstring required

Changes

No recorded changes to this operation across all 1 revision of this API.