---
title: "Request Grant Change"
method: POST
path: "/agent/spaces/{space_id}/grant-change"
tags: ["agent"]
---

# Request Grant Change

`POST /agent/spaces/{space_id}/grant-change`

## Request

- Base URL: `https://app.orla.finance/api`
- URL: `https://app.orla.finance/api/agent/spaces/{space_id}/grant-change`
- Auth: HTTP bearer

Ask for a change to this agent's own fence in this space: the daily cap, the expiry, the hosts the wallet may pay, the merchants the card may pay.

## Path parameters

- `space_id` string, uuid, required

## Request body

- AgentGrantChangeIn: What an agent may ASK about its own fence.
  - `allowed_merchants` string[], nullable
  - `daily_amount_cap_usd` union
    - number
    - string
  - `expires_at` string, date-time, nullable
  - `reason` string
  - `x402_hosts` string[], nullable

## Response `200`

Successful Response

- AgentWriteOut: The answer to every mutating agent call.
  - `applied` boolean, required
  - `message` string
  - `proposal_id` string, uuid, nullable
  - `result` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/orla/apis/orla-api-agent-and-integration-doors.md) · [All operations](https://skmtc.dev/orla/apis/orla-api-agent-and-integration-doors/llms.txt) · [OpenAPI document](https://skmtc.dev/orla/apis/orla-api-agent-and-integration-doors/revisions/5c8a8112ea7c?raw)
