Revoke an invitation
`org.members` or `team.members` on the invitation's target. The link stops working at once. 409 `invite-invalid` when it was accepted, revoked or has expired.
openapi/harthelm.yaml at v1.5.0__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.
invite*stringAn invitation's id.
uuidRevoked.
curl -X DELETE 'https://console.example.com/api/v1/invites/497f6eca-6276-4993-bfeb-53cbbbba6f08'Renew an invitation
`org.members` or `team.members` on the target. Issues a new link (the old one stops working) with a new 7-day expiry and mails it when mail is on; also for an expired invitation. 409 `invite-invalid` when it was accepted or revoked; 429 when the caller is over the per-sender mail limit.
Add or duplicate a profile
Creates `harthelm.<name>.yml` (*Add profile* with `content`, *Duplicate* with `from`, exactly one of the two; 422 otherwise). The write is the agent's create (`If-None-Match: *`), so an existing file is 409 `name-taken`. It does not select the profile. Needs `workspace.code`; audited as `landscape.config_write`.