
Delete an Origin App installation via the API
Remove an installation that belongs to the authenticated app with DELETE https://api.cursor.com/v1/origin/app/installations/{installationId}. Official reference: Origin API → Delete App Installation.
Origin is in Early Beta and subject to change. Authenticate with an app JWT. The installation must belong to the authenticated app. Availability: Early Beta per the API overview.
Deleting an installation prevents new installation access tokens from being minted. Already-issued short-lived tokens may remain valid until they expire (at most 15 minutes). After that window, REST and Git over HTTPS reject them with 401.
No installation scope is required — presenting a valid app JWT is enough.
Path parameters
| Param | Required | Meaning |
|---|---|---|
installationId |
yes | Installation to delete. Must belong to the authenticated app. |
curl --request DELETE \
--url 'https://api.cursor.com/v1/origin/app/installations/INSTALLATION_ID' \
--header 'Authorization: Bearer YOUR_APP_JWT'
Response
Successful requests return 204 No Content with an empty body.
A deleted installation no longer resolves through List or Get App Installation. The deletedAt field appears only on the installation.deleted webhook snapshot, not on REST list/get responses.
After delete, do not retry minting tokens for that installation ID. The customer must reinstall the app (and you must store the new installation ID from the install receipt) before you can mint working tokens again.
Base URL: https://api.cursor.com/v1/origin.