rules

Restore rules from the most recent backup

Deletes current rules and recreates them from the most recent backup.

post/v1/agents/{agent_id}/rules/restore

Request

  • Base URL: https://api.spendnod.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.spendnod.com/v1/agents/{agent_id}/rules/restore
  • Auth: none declared

Path parameters

agent_idstring uuid required

Response

Successful Response

idstring uuid required
agent_idstring uuid required
rule_type'max_per_transaction' | 'max_per_day' | 'max_per_month' | 'allowed_vendors' | 'blocked_vendors' | 'allowed_categories' | 'blocked_categories' | 'require_approval_above' | 'auto_approve_below' required
valueobject required
is_activeboolean required
created_atstring date-time required

Changes

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