Replaces the registration's brand.
This is a replacement, not a merge. A field left out of the payload is emptied - that is what PUT means, and it is the only way to clear a field. The one exception is use_case: leaving it out keeps the purpose on record (see RcsAgentUpdate).
The app binding is not part of the payload: it was decided when the registration was created, and moving an agent between apps would be creating another one. Sending app_ids answers 422.
Editing a registration that is already submitted or under_review answers 409 - it is out of your hands while someone is looking at it. Editing an approved one is allowed, and what happens depends on what changed:
- A declared
use_casechanged: refused. The purpose is part of where the brand is registered at the supplier, so on an approved registration it does not change -409withuse_case_locked, nothing is saved, and the agent staysapproved. Declaring one where none was on record is allowed, and counts as a brand change. - Any other brand field changed: the agent goes offline. The brand is live at the carrier, so a change has to be looked at again. The registration goes back to review as
submitted, and RCS sending with this agent is refused until the new review approves it - 10 to 20 days. - Only
webhook_urlchanged, or nothing did: nothing stops. The webhook is where thercs.agent.statusnotifications go, not part of the brand, so there is nothing to review: the registration staysapprovedand keeps sending.
Each field is compared with what is on record, so resending the brand unchanged together with a new webhook_url counts as a webhook-only change. But a field left out of the payload - other than use_case - is emptied, and emptying a brand field the registration had - test_devices included - is a brand change. Read status in the response to see which one happened.
An agent bound to another app of the same account answers 404, exactly like one that does not exist: through these credentials it is not addressable. Reach it with that app's app-id.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
