OpenRCS API reference · v1 ← Back to console Swagger UI
Agents

Remove a tester from an agent

DELETE /agents/{agent_id}/testers/{phone_number} x-api-key

Removes the stored tester row. Idempotent: answers 200 `{status: ok}` whether or not the row existed.

Parameters

NameInTypeRequiredDescription
x-api-key header string yes The relay API key (x-api-key header).
agent_id path string yes The rcs-relay agent identifier (ULID).
phone_number path string yes E.164 tester phone number.

Responses

StatusDescription
200 Tester removed (or already absent — idempotent).
401 Missing or invalid API key.
404 Agent not found.
422 The phone_number path segment is not a valid E.164 number.

200 example

{
  "status": "ok"
}