Rename a website, app, or agent
rename_serviceRename a website, app, or agent. A website or app moves to https://..valet.run; the old address stops serving it and its name becomes available to another service in the same organization. An agent keeps its channels, which address it by id, and has no address to move. The architect agent cannot be renamed, and renaming an agent requires the organization to have one. Pass kind to say which you mean; a name holding another kind is then refused rather than renamed. Requires connecting a Valet account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | The kind you mean. Omit to rename whatever the name holds; give it to have a name holding another kind refused. | |
| name | Yes | Required. The website's, app's, or agent's current name. | |
| new_name | Yes | Required. The new name. It also becomes the first host label of the new URL. | |
| org_name | No | The Valet organization it belongs to. Omit to use the organization the account joined first. |