Simulations

Revoke agent access as test customer

Remove an agent's access to a test customer, acting as the customer

post/simulations/customers/{customerId}/agents/{agentId}/revoke

Path parameters

customerIdstring required

Customer party ID (pty_*).

agentIdstring required

Agent ID (agt_*).

Headers

Idempotency-Keystring required

Unique key for safely retrying a request without creating duplicates.

X-Agent-IDstring nullable

Deprecated: agent identity comes from the credential. Sending this header with a party API key or user credential returns 403 agent_credential_required.

X-Instance-IDstring nullable

Caller-chosen identifier for the agent run, session, or conversation, required when an agent moves money.

Response

Successful Response

OR