/** * @example * { * database: "acme_corp", * newName: "new_name" * } */ export interface TenantsTenantRenameRequest { /** Current database identifier */ database: string; /** * NewName is the database's new caller-facing name. Same rules as a * create-time name (ValidateTenantName). * * binding:"required" is read by swag, so the published schema lists the * field as required and generated SDKs make it a mandatory argument; it is * inert at runtime, because the handler decodes through ParseRenameRequest, * which rejects a missing or blank new_name itself. */ newName: string; }