Harthelm Docs

Deny a CLI sign-in

Browser sessions only. The CLI's next redeem answers `cli-login-closed`.

Generated from openapi/harthelm.yaml at v1.5.0
POST
/me/cli-logins/{code}/deny

Authorization

cookie__Host-harthelm_session<token>

Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header Harthelm-CSRF: 1 and a matching Origin.

Path Parameters

code*string

The user code hart login printed, e.g. BDFH-KMNP (case and the dash do not matter).

Length8 <= length <= 9

Response Body

Denied.

curl -X POST 'https://console.example.com/api/v1/me/cli-logins/stringst/deny'
Empty