Delete contract
documentedDelete a contract.
DELETE /contracts/{id}.jsonContractsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
The command and endpoint are based on Samanage API patterns: base URL is https://api.samanage.com/ and the endpoint for contracts deletion is /contracts/{id}.json (DELETE). The API expects a versioned Accept header and token authentication via X-Samanage-Authorization. See sources: base URL and delete_contract path in the Samanage Ruby gem docs (https://api.samanage.com/ and contracts/#{id}.json) and headers (Accept: application/vnd.samanage.v2.1+json; X-Samanage-Authorization: Bearer ...). ([rubydoc.info](https://www.rubydoc.info/gems/samanage/Samanage/Api))
npx -y keychains@latest curl "https://api.samanage.com/contracts/{{$contract_id}}.json" \
-X DELETE \
-H "Accept: application/vnd.samanage.v2.1+json" \
-H "Content-Type: application/json" \
-H "X-Samanage-Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}"